// Gets information about a Deployments collection.
Gets information about a Deployments collection.
// Gets information about a Deployments collection .
func (c *Client) GetDeployments(ctx context.Context, params *GetDeploymentsInput, optFns ...func(*Options)) (*GetDeploymentsOutput, error) {
	if params == nil {
		params = &GetDeploymentsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetDeployments", params, optFns, addOperationGetDeploymentsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetDeploymentsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetDeployments ( ctx context . Context , params * GetDeploymentsInput , optFns ... func ( * Options ) ) ( * GetDeploymentsOutput , error ) { if params == nil { params = & GetDeploymentsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetDeploymentsMiddlewares ) if err != nil { return nil , err } out := result . ( * GetDeploymentsOutput ) out . ResultMetadata = metadata return out , nil }
Gets information about a Deployments collection.
Gets information about a Deployments collection .