Class: Aws::SageMaker::Types::ListModelPackagesInput

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

Overview

Note:

When making an API call, you may pass ListModelPackagesInput data as a hash:

{
  creation_time_after: Time.now,
  creation_time_before: Time.now,
  max_results: 1,
  name_contains: "NameContains",
  model_approval_status: "Approved", # accepts Approved, Rejected, PendingManualApproval
  model_package_group_name: "ArnOrName",
  model_package_type: "Versioned", # accepts Versioned, Unversioned, Both
  next_token: "NextToken",
  sort_by: "Name", # accepts Name, CreationTime
  sort_order: "Ascending", # accepts Ascending, Descending
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_time_afterTime

A filter that returns only model packages created after the specified time (timestamp).

Returns:

  • (Time)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#creation_time_beforeTime

A filter that returns only model packages created before the specified time (timestamp).

Returns:

  • (Time)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of model packages to return in the response.

Returns:

  • (Integer)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#model_approval_statusString

A filter that returns only the model packages with the specified approval status.

Returns:

  • (String)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#model_package_group_nameString

A filter that returns only model versions that belong to the specified model group.

Returns:

  • (String)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#model_package_typeString

A filter that returns onlyl the model packages of the specified type. This can be one of the following values.

  • VERSIONED - List only versioned models.

  • UNVERSIONED - List only unversioined models.

  • BOTH - List both versioned and unversioned models.

Returns:

  • (String)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#name_containsString

A string in the model package name. This filter returns only model packages whose name contains the specified string.

Returns:

  • (String)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

If the response to a previous ListModelPackages request was truncated, the response includes a NextToken. To retrieve the next set of model packages, use the token in the next request.

Returns:

  • (String)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_byString

The parameter by which to sort the results. The default is CreationTime.

Returns:

  • (String)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_orderString

The sort order for the results. The default is Ascending.

Returns:

  • (String)


22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22045

class ListModelPackagesInput < Struct.new(
  :creation_time_after,
  :creation_time_before,
  :max_results,
  :name_contains,
  :model_approval_status,
  :model_package_group_name,
  :model_package_type,
  :next_token,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end