// Lists the backend environments for an Amplify app.
Lists the backend environments for an Amplify app.
// Lists the backend environments for an Amplify app .
func (c *Client) ListBackendEnvironments(ctx context.Context, params *ListBackendEnvironmentsInput, optFns ...func(*Options)) (*ListBackendEnvironmentsOutput, error) {
	if params == nil {
		params = &ListBackendEnvironmentsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListBackendEnvironments", params, optFns, addOperationListBackendEnvironmentsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListBackendEnvironmentsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListBackendEnvironments ( ctx context . Context , params * ListBackendEnvironmentsInput , optFns ... func ( * Options ) ) ( * ListBackendEnvironmentsOutput , error ) { if params == nil { params = & ListBackendEnvironmentsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListBackendEnvironmentsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListBackendEnvironmentsOutput ) out . ResultMetadata = metadata return out , nil }
Lists the backend environments for an Amplify app.
Lists the backend environments for an Amplify app .