You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ECR::Types::GetLifecyclePolicyPreviewResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#lifecycle_policy_textString

The JSON lifecycle policy text.

Returns:

  • (String)


838
839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 838

class GetLifecyclePolicyPreviewResponse < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text,
  :status,
  :next_token,
  :preview_results,
  :summary)
  include Aws::Structure
end

#next_tokenString

The nextToken value to include in a future GetLifecyclePolicyPreview request. When the results of a GetLifecyclePolicyPreview request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

Returns:

  • (String)


838
839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 838

class GetLifecyclePolicyPreviewResponse < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text,
  :status,
  :next_token,
  :preview_results,
  :summary)
  include Aws::Structure
end

#preview_resultsArray<Types::LifecyclePolicyPreviewResult>

The results of the lifecycle policy preview request.



838
839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 838

class GetLifecyclePolicyPreviewResponse < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text,
  :status,
  :next_token,
  :preview_results,
  :summary)
  include Aws::Structure
end

#registry_idString

The registry ID associated with the request.

Returns:

  • (String)


838
839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 838

class GetLifecyclePolicyPreviewResponse < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text,
  :status,
  :next_token,
  :preview_results,
  :summary)
  include Aws::Structure
end

#repository_nameString

The repository name associated with the request.

Returns:

  • (String)


838
839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 838

class GetLifecyclePolicyPreviewResponse < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text,
  :status,
  :next_token,
  :preview_results,
  :summary)
  include Aws::Structure
end

#statusString

The status of the lifecycle policy preview request.

Returns:

  • (String)


838
839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 838

class GetLifecyclePolicyPreviewResponse < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text,
  :status,
  :next_token,
  :preview_results,
  :summary)
  include Aws::Structure
end

#summaryTypes::LifecyclePolicyPreviewSummary

The list of images that is returned as a result of the action.



838
839
840
841
842
843
844
845
846
847
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 838

class GetLifecyclePolicyPreviewResponse < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text,
  :status,
  :next_token,
  :preview_results,
  :summary)
  include Aws::Structure
end