Skip to content

Commit b91dc2d

Browse files
Daily Sync with Botocore v1.35.28 on 2024/09/27 (#210)
1 parent c03dc61 commit b91dc2d

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

sample/sagemaker/2017-07-24/service-2.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8957,6 +8957,10 @@
89578957
"shape":"AppSecurityGroupManagement",
89588958
"documentation":"<p>The entity that creates and manages the required security groups for inter-app communication in <code>VPCOnly</code> mode. Required when <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is provided. If setting up the domain for use with RStudio, this value must be set to <code>Service</code>.</p>"
89598959
},
8960+
"TagPropagation":{
8961+
"shape":"TagPropagation",
8962+
"documentation":"<p>Indicates whether custom tag propagation is supported for the domain. Defaults to <code>DISABLED</code>.</p>"
8963+
},
89608964
"DefaultSpaceSettings":{
89618965
"shape":"DefaultSpaceSettings",
89628966
"documentation":"<p>The default settings used to create a space.</p>"
@@ -13762,6 +13766,10 @@
1376213766
"shape":"AppSecurityGroupManagement",
1376313767
"documentation":"<p>The entity that creates and manages the required security groups for inter-app communication in <code>VPCOnly</code> mode. Required when <code>CreateDomain.AppNetworkAccessType</code> is <code>VPCOnly</code> and <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is provided.</p>"
1376413768
},
13769+
"TagPropagation":{
13770+
"shape":"TagPropagation",
13771+
"documentation":"<p>Indicates whether custom tag propagation is supported for the domain.</p>"
13772+
},
1376513773
"DefaultSpaceSettings":{
1376613774
"shape":"DefaultSpaceSettings",
1376713775
"documentation":"<p>The default settings used to create a space.</p>"
@@ -35740,6 +35748,13 @@
3574035748
"max":50,
3574135749
"min":0
3574235750
},
35751+
"TagPropagation":{
35752+
"type":"string",
35753+
"enum":[
35754+
"ENABLED",
35755+
"DISABLED"
35756+
]
35757+
},
3574335758
"TagValue":{
3574435759
"type":"string",
3574535760
"max":256,
@@ -38131,6 +38146,10 @@
3813138146
"AppNetworkAccessType":{
3813238147
"shape":"AppNetworkAccessType",
3813338148
"documentation":"<p>Specifies the VPC used for non-EFS traffic.</p> <ul> <li> <p> <code>PublicInternetOnly</code> - Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet access.</p> </li> <li> <p> <code>VpcOnly</code> - All Studio traffic is through the specified VPC and subnets.</p> </li> </ul> <p>This configuration can only be modified if there are no apps in the <code>InService</code>, <code>Pending</code>, or <code>Deleting</code> state. The configuration cannot be updated if <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is already set or <code>DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn</code> is provided as part of the same request.</p>"
38149+
},
38150+
"TagPropagation":{
38151+
"shape":"TagPropagation",
38152+
"documentation":"<p>Indicates whether custom tag propagation is supported for the domain. Defaults to <code>DISABLED</code>.</p>"
3813438153
}
3813538154
}
3813638155
},

src/sagemaker_core/main/code_injection/shape_dag.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,6 +1884,7 @@
18841884
"shape": "AppSecurityGroupManagement",
18851885
"type": "string",
18861886
},
1887+
{"name": "TagPropagation", "shape": "TagPropagation", "type": "string"},
18871888
{"name": "DefaultSpaceSettings", "shape": "DefaultSpaceSettings", "type": "structure"},
18881889
],
18891890
"type": "structure",
@@ -4125,6 +4126,7 @@
41254126
"shape": "AppSecurityGroupManagement",
41264127
"type": "string",
41274128
},
4129+
{"name": "TagPropagation", "shape": "TagPropagation", "type": "string"},
41284130
{"name": "DefaultSpaceSettings", "shape": "DefaultSpaceSettings", "type": "structure"},
41294131
],
41304132
"type": "structure",
@@ -14082,6 +14084,7 @@
1408214084
{"name": "DefaultSpaceSettings", "shape": "DefaultSpaceSettings", "type": "structure"},
1408314085
{"name": "SubnetIds", "shape": "Subnets", "type": "list"},
1408414086
{"name": "AppNetworkAccessType", "shape": "AppNetworkAccessType", "type": "string"},
14087+
{"name": "TagPropagation", "shape": "TagPropagation", "type": "string"},
1408514088
],
1408614089
"type": "structure",
1408714090
},

src/sagemaker_core/main/resources.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6147,6 +6147,7 @@ class Domain(Base):
61476147
vpc_id: The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
61486148
kms_key_id: The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain.
61496149
app_security_group_management: The entity that creates and manages the required security groups for inter-app communication in VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided.
6150+
tag_propagation: Indicates whether custom tag propagation is supported for the domain.
61506151
default_space_settings: The default settings used to create a space.
61516152

61526153
"""
@@ -6172,6 +6173,7 @@ class Domain(Base):
61726173
vpc_id: Optional[str] = Unassigned()
61736174
kms_key_id: Optional[str] = Unassigned()
61746175
app_security_group_management: Optional[str] = Unassigned()
6176+
tag_propagation: Optional[str] = Unassigned()
61756177
default_space_settings: Optional[DefaultSpaceSettings] = Unassigned()
61766178

61776179
def get_name(self) -> str:
@@ -6270,6 +6272,7 @@ def create(
62706272
home_efs_file_system_kms_key_id: Optional[str] = Unassigned(),
62716273
kms_key_id: Optional[str] = Unassigned(),
62726274
app_security_group_management: Optional[str] = Unassigned(),
6275+
tag_propagation: Optional[str] = Unassigned(),
62736276
default_space_settings: Optional[DefaultSpaceSettings] = Unassigned(),
62746277
session: Optional[Session] = None,
62756278
region: Optional[str] = None,
@@ -6289,6 +6292,7 @@ def create(
62896292
home_efs_file_system_kms_key_id: Use KmsKeyId.
62906293
kms_key_id: SageMaker uses Amazon Web Services KMS to encrypt EFS and EBS volumes attached to the domain with an Amazon Web Services managed key by default. For more control, specify a customer managed key.
62916294
app_security_group_management: The entity that creates and manages the required security groups for inter-app communication in VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting up the domain for use with RStudio, this value must be set to Service.
6295+
tag_propagation: Indicates whether custom tag propagation is supported for the domain. Defaults to DISABLED.
62926296
default_space_settings: The default settings used to create a space.
62936297
session: Boto3 session.
62946298
region: Region name.
@@ -6330,6 +6334,7 @@ def create(
63306334
"HomeEfsFileSystemKmsKeyId": home_efs_file_system_kms_key_id,
63316335
"KmsKeyId": kms_key_id,
63326336
"AppSecurityGroupManagement": app_security_group_management,
6337+
"TagPropagation": tag_propagation,
63336338
"DefaultSpaceSettings": default_space_settings,
63346339
}
63356340

@@ -6446,6 +6451,7 @@ def update(
64466451
default_space_settings: Optional[DefaultSpaceSettings] = Unassigned(),
64476452
subnet_ids: Optional[List[str]] = Unassigned(),
64486453
app_network_access_type: Optional[str] = Unassigned(),
6454+
tag_propagation: Optional[str] = Unassigned(),
64496455
) -> Optional["Domain"]:
64506456
"""
64516457
Update a Domain resource
@@ -6482,6 +6488,7 @@ def update(
64826488
"DefaultSpaceSettings": default_space_settings,
64836489
"SubnetIds": subnet_ids,
64846490
"AppNetworkAccessType": app_network_access_type,
6491+
"TagPropagation": tag_propagation,
64856492
}
64866493
logger.debug(f"Input request: {operation_input_args}")
64876494
# serialize the input request

0 commit comments

Comments
 (0)