Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 109 additions & 1 deletion sample/sagemaker/2017-07-24/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5654,6 +5654,12 @@
"Line"
]
},
"AssignedGroupPatternsList":{
"type":"list",
"member":{"shape":"GroupNamePattern"},
"max":10,
"min":0
},
"AssociateTrialComponentRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -6815,6 +6821,20 @@
"box":true,
"min":0
},
"AvailableUpgrade":{
"type":"structure",
"members":{
"Version":{
"shape":"MajorMinorVersion",
"documentation":"<p>The semantic version number of the available upgrade for the SageMaker Partner AI App.</p>"
},
"ReleaseNotes":{
"shape":"ReleaseNotesList",
"documentation":"<p>A list of release notes describing the changes and improvements included in the available upgrade version.</p>"
}
},
"documentation":"<p>Contains information about an available upgrade for a SageMaker Partner AI App, including the version number and release notes.</p>"
},
"AwsManagedHumanLoopRequestSource":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -12665,6 +12685,11 @@
"documentation":"<p>When set to <code>TRUE</code>, the SageMaker Partner AI App sets the Amazon Web Services IAM session name or the authenticated IAM user as the identity of the SageMaker Partner AI App user.</p>",
"box":true
},
"EnableAutoMinorVersionUpgrade":{
"shape":"Boolean",
"documentation":"<p>When set to <code>TRUE</code>, the SageMaker Partner AI App is automatically upgraded to the latest minor version during the next scheduled maintenance window, if one is available. Default is <code>FALSE</code>.</p>",
"box":true
},
"ClientToken":{
"shape":"ClientToken",
"documentation":"<p>A unique token that guarantees that the call to this API is idempotent.</p>",
Expand Down Expand Up @@ -18717,6 +18742,11 @@
"Arn":{
"shape":"PartnerAppArn",
"documentation":"<p>The ARN of the SageMaker Partner AI App to describe.</p>"
},
"IncludeAvailableUpgrade":{
"shape":"Boolean",
"documentation":"<p>When set to <code>TRUE</code>, the response includes available upgrade information for the SageMaker Partner AI App. Default is <code>FALSE</code>.</p>",
"box":true
}
}
},
Expand Down Expand Up @@ -18787,6 +18817,19 @@
"Error":{
"shape":"ErrorInfo",
"documentation":"<p>This is an error field object that contains the error code and the reason for an operation failure.</p>"
},
"EnableAutoMinorVersionUpgrade":{
"shape":"Boolean",
"documentation":"<p>Indicates whether the SageMaker Partner AI App is configured for automatic minor version upgrades during scheduled maintenance windows.</p>",
"box":true
},
"CurrentVersionEolDate":{
"shape":"Timestamp",
"documentation":"<p>The end-of-life date for the current version of the SageMaker Partner AI App.</p>"
},
"AvailableUpgrade":{
"shape":"AvailableUpgrade",
"documentation":"<p>A map of available minor version upgrades for the SageMaker Partner AI App. The key is the semantic version number, and the value is a list of release notes for that version. A null value indicates no upgrades are available.</p>"
}
}
},
Expand Down Expand Up @@ -22995,6 +23038,18 @@
"min":1,
"pattern":"[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+"
},
"GroupNamePattern":{
"type":"string",
"max":128,
"min":1,
"pattern":"[\\w+=,.@*-]+"
},
"GroupPatternsList":{
"type":"list",
"member":{"shape":"GroupNamePattern"},
"max":10,
"min":1
},
"GroupingAttributeName":{
"type":"string",
"max":256,
Expand Down Expand Up @@ -30870,6 +30925,12 @@
"min":1,
"pattern":"[a-zA-Z]+ ?\\d+\\.\\d+(\\.\\d+)?"
},
"MajorMinorVersion":{
"type":"string",
"max":64,
"min":0,
"pattern":"\\d+\\.\\d+"
},
"ManagedInstanceScalingMaxInstanceCount":{
"type":"integer",
"box":true,
Expand Down Expand Up @@ -32320,7 +32381,7 @@
"type":"string",
"max":2048,
"min":1,
"pattern":"arn:arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package/[\\S]{1,2048}"
"pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package/[\\S]{1,2048}"
},
"ModelPackageArnList":{
"type":"list",
Expand Down Expand Up @@ -34907,6 +34968,14 @@
"Arguments":{
"shape":"PartnerAppArguments",
"documentation":"<p>This is a map of required inputs for a SageMaker Partner AI App. Based on the application type, the map is populated with a key and value pair that is specific to the user and application.</p>"
},
"AssignedGroupPatterns":{
"shape":"AssignedGroupPatternsList",
"documentation":"<p>A list of Amazon Web Services IAM Identity Center group patterns that can access the SageMaker Partner AI App. Group names support wildcard matching using <code>*</code>. An empty list indicates the app will not use Identity Center group features. All groups specified in <code>RoleGroupAssignments</code> must match patterns in this list.</p>"
},
"RoleGroupAssignments":{
"shape":"RoleGroupAssignmentsList",
"documentation":"<p>A map of in-app roles to Amazon Web Services IAM Identity Center group patterns. Groups assigned to specific roles receive those permissions, while groups in <code>AssignedGroupPatterns</code> but not in this map receive default in-app role depending on app type. Group patterns support wildcard matching using <code>*</code>. Currently supported by Fiddler version 1.3 and later with roles: <code>ORG_MEMBER</code> (default) and <code>ORG_ADMIN</code>.</p>"
}
},
"documentation":"<p>Configuration settings for the SageMaker Partner AI App.</p>"
Expand Down Expand Up @@ -38096,6 +38165,12 @@
"min":1,
"pattern":".*"
},
"ReleaseNotesList":{
"type":"list",
"member":{"shape":"String1024"},
"max":10,
"min":0
},
"RemoteDebugConfig":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -38749,6 +38824,30 @@
"min":20,
"pattern":"arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+"
},
"RoleGroupAssignment":{
"type":"structure",
"required":[
"RoleName",
"GroupPatterns"
],
"members":{
"RoleName":{
"shape":"NonEmptyString256",
"documentation":"<p>The name of the in-app role within the SageMaker Partner AI App. The specific roles available depend on the app type and version.</p>"
},
"GroupPatterns":{
"shape":"GroupPatternsList",
"documentation":"<p>A list of AWS IAM Identity Center group patterns that should be assigned to the specified role. Group patterns support wildcard matching using <code>*</code>.</p>"
}
},
"documentation":"<p>Defines the mapping between an in-app role and the AWS IAM Identity Center group patterns that should be assigned to that role within the SageMaker Partner AI App.</p>"
},
"RoleGroupAssignmentsList":{
"type":"list",
"member":{"shape":"RoleGroupAssignment"},
"max":10,
"min":0
},
"RollingDeploymentPolicy":{
"type":"structure",
"required":["MaximumBatchSize"],
Expand Down Expand Up @@ -44938,6 +45037,15 @@
"documentation":"<p>When set to <code>TRUE</code>, the SageMaker Partner AI App sets the Amazon Web Services IAM session name or the authenticated IAM user as the identity of the SageMaker Partner AI App user.</p>",
"box":true
},
"EnableAutoMinorVersionUpgrade":{
"shape":"Boolean",
"documentation":"<p>When set to <code>TRUE</code>, the SageMaker Partner AI App is automatically upgraded to the latest minor version during the next scheduled maintenance window, if one is available.</p>",
"box":true
},
"AppVersion":{
"shape":"MajorMinorVersion",
"documentation":"<p>The semantic version to upgrade the SageMaker Partner AI App to. Must be the same semantic version returned in the <code>AvailableUpgrade</code> field from <code>DescribePartnerApp</code>. Version skipping and downgrades are not supported.</p>"
},
"ClientToken":{
"shape":"ClientToken",
"documentation":"<p>A unique token that guarantees that the call to this API is idempotent.</p>",
Expand Down
43 changes: 42 additions & 1 deletion src/sagemaker_core/main/code_injection/shape_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,11 @@
],
"type": "structure",
},
"AssignedGroupPatternsList": {
"member_shape": "GroupNamePattern",
"member_type": "string",
"type": "list",
},
"AssociateTrialComponentRequest": {
"members": [
{"name": "TrialComponentName", "shape": "ExperimentEntityName", "type": "string"},
Expand Down Expand Up @@ -802,6 +807,13 @@
"members": [{"name": "Mode", "shape": "AutotuneMode", "type": "string"}],
"type": "structure",
},
"AvailableUpgrade": {
"members": [
{"name": "Version", "shape": "MajorMinorVersion", "type": "string"},
{"name": "ReleaseNotes", "shape": "ReleaseNotesList", "type": "list"},
],
"type": "structure",
},
"BatchAddClusterNodesError": {
"members": [
{"name": "InstanceGroupName", "shape": "InstanceGroupName", "type": "string"},
Expand Down Expand Up @@ -3233,6 +3245,7 @@
{"name": "ApplicationConfig", "shape": "PartnerAppConfig", "type": "structure"},
{"name": "AuthType", "shape": "PartnerAppAuthType", "type": "string"},
{"name": "EnableIamSessionBasedIdentity", "shape": "Boolean", "type": "boolean"},
{"name": "EnableAutoMinorVersionUpgrade", "shape": "Boolean", "type": "boolean"},
{"name": "ClientToken", "shape": "ClientToken", "type": "string"},
{"name": "Tags", "shape": "TagList", "type": "list"},
],
Expand Down Expand Up @@ -5987,7 +6000,10 @@
"type": "structure",
},
"DescribePartnerAppRequest": {
"members": [{"name": "Arn", "shape": "PartnerAppArn", "type": "string"}],
"members": [
{"name": "Arn", "shape": "PartnerAppArn", "type": "string"},
{"name": "IncludeAvailableUpgrade", "shape": "Boolean", "type": "boolean"},
],
"type": "structure",
},
"DescribePartnerAppResponse": {
Expand All @@ -6012,6 +6028,9 @@
{"name": "AuthType", "shape": "PartnerAppAuthType", "type": "string"},
{"name": "EnableIamSessionBasedIdentity", "shape": "Boolean", "type": "boolean"},
{"name": "Error", "shape": "ErrorInfo", "type": "structure"},
{"name": "EnableAutoMinorVersionUpgrade", "shape": "Boolean", "type": "boolean"},
{"name": "CurrentVersionEolDate", "shape": "Timestamp", "type": "timestamp"},
{"name": "AvailableUpgrade", "shape": "AvailableUpgrade", "type": "structure"},
],
"type": "structure",
},
Expand Down Expand Up @@ -7647,6 +7666,11 @@
"members": [{"name": "SecretArn", "shape": "SecretArn", "type": "string"}],
"type": "structure",
},
"GroupPatternsList": {
"member_shape": "GroupNamePattern",
"member_type": "string",
"type": "list",
},
"GroupingAttributeNames": {
"member_shape": "GroupingAttributeName",
"member_type": "string",
Expand Down Expand Up @@ -12624,6 +12648,8 @@
"members": [
{"name": "AdminUsers", "shape": "PartnerAppAdminUserList", "type": "list"},
{"name": "Arguments", "shape": "PartnerAppArguments", "type": "map"},
{"name": "AssignedGroupPatterns", "shape": "AssignedGroupPatternsList", "type": "list"},
{"name": "RoleGroupAssignments", "shape": "RoleGroupAssignmentsList", "type": "list"},
],
"type": "structure",
},
Expand Down Expand Up @@ -13864,6 +13890,7 @@
"members": [{"name": "Arn", "shape": "String256", "type": "string"}],
"type": "structure",
},
"ReleaseNotesList": {"member_shape": "String1024", "member_type": "string", "type": "list"},
"RemoteDebugConfig": {
"members": [{"name": "EnableRemoteDebug", "shape": "EnableRemoteDebug", "type": "boolean"}],
"type": "structure",
Expand Down Expand Up @@ -14107,6 +14134,18 @@
],
"type": "structure",
},
"RoleGroupAssignment": {
"members": [
{"name": "RoleName", "shape": "NonEmptyString256", "type": "string"},
{"name": "GroupPatterns", "shape": "GroupPatternsList", "type": "list"},
],
"type": "structure",
},
"RoleGroupAssignmentsList": {
"member_shape": "RoleGroupAssignment",
"member_type": "structure",
"type": "list",
},
"RollingDeploymentPolicy": {
"members": [
{"name": "MaximumBatchSize", "shape": "CapacitySizeConfig", "type": "structure"},
Expand Down Expand Up @@ -16469,6 +16508,8 @@
{"name": "Tier", "shape": "NonEmptyString64", "type": "string"},
{"name": "ApplicationConfig", "shape": "PartnerAppConfig", "type": "structure"},
{"name": "EnableIamSessionBasedIdentity", "shape": "Boolean", "type": "boolean"},
{"name": "EnableAutoMinorVersionUpgrade", "shape": "Boolean", "type": "boolean"},
{"name": "AppVersion", "shape": "MajorMinorVersion", "type": "string"},
{"name": "ClientToken", "shape": "ClientToken", "type": "string"},
{"name": "Tags", "shape": "TagList", "type": "list"},
],
Expand Down
Loading
Loading