Skip to content

Commit 82f61e2

Browse files
Daily Sync with Botocore v1.39.10 on 2025/07/22 (#323)
1 parent 1526b4b commit 82f61e2

File tree

4 files changed

+130
-19
lines changed

4 files changed

+130
-19
lines changed

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

Lines changed: 68 additions & 13 deletions
Large diffs are not rendered by default.

src/sagemaker_core/main/code_injection/shape_dag.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3377,6 +3377,7 @@
33773377
"shape": "WorkforceVpcConfigRequest",
33783378
"type": "structure",
33793379
},
3380+
{"name": "IpAddressType", "shape": "WorkforceIpAddressType", "type": "string"},
33803381
],
33813382
"type": "structure",
33823383
},
@@ -3413,6 +3414,7 @@
34133414
"members": [
34143415
{"name": "EFSFileSystem", "shape": "EFSFileSystem", "type": "structure"},
34153416
{"name": "FSxLustreFileSystem", "shape": "FSxLustreFileSystem", "type": "structure"},
3417+
{"name": "S3FileSystem", "shape": "S3FileSystem", "type": "structure"},
34163418
],
34173419
"type": "structure",
34183420
},
@@ -3424,6 +3426,7 @@
34243426
"shape": "FSxLustreFileSystemConfig",
34253427
"type": "structure",
34263428
},
3429+
{"name": "S3FileSystemConfig", "shape": "S3FileSystemConfig", "type": "structure"},
34273430
],
34283431
"type": "structure",
34293432
},
@@ -13672,6 +13675,17 @@
1367213675
],
1367313676
"type": "structure",
1367413677
},
13678+
"S3FileSystem": {
13679+
"members": [{"name": "S3Uri", "shape": "S3SchemaUri", "type": "string"}],
13680+
"type": "structure",
13681+
},
13682+
"S3FileSystemConfig": {
13683+
"members": [
13684+
{"name": "MountPath", "shape": "String1024", "type": "string"},
13685+
{"name": "S3Uri", "shape": "S3SchemaUri", "type": "string"},
13686+
],
13687+
"type": "structure",
13688+
},
1367513689
"S3ModelDataSource": {
1367613690
"members": [
1367713691
{"name": "S3Uri", "shape": "S3ModelUri", "type": "string"},
@@ -16118,6 +16132,7 @@
1611816132
"shape": "WorkforceVpcConfigRequest",
1611916133
"type": "structure",
1612016134
},
16135+
{"name": "IpAddressType", "shape": "WorkforceIpAddressType", "type": "string"},
1612116136
],
1612216137
"type": "structure",
1612316138
},
@@ -16326,6 +16341,7 @@
1632616341
},
1632716342
{"name": "Status", "shape": "WorkforceStatus", "type": "string"},
1632816343
{"name": "FailureReason", "shape": "WorkforceFailureReason", "type": "string"},
16344+
{"name": "IpAddressType", "shape": "WorkforceIpAddressType", "type": "string"},
1632916345
],
1633016346
"type": "structure",
1633116347
},

src/sagemaker_core/main/resources.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7436,8 +7436,8 @@ def create(
74367436
auth_mode: The mode of authentication that members use to access the domain.
74377437
default_user_settings: The default settings to use to create a user profile when UserSettings isn't specified in the call to the CreateUserProfile API. SecurityGroups is aggregated when specified in both calls. For all other settings in UserSettings, the values specified in CreateUserProfile take precedence over those specified in CreateDomain.
74387438
domain_settings: A collection of Domain settings.
7439-
subnet_ids: The VPC subnets that the domain uses for communication.
7440-
vpc_id: The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.
7439+
subnet_ids: The VPC subnets that the domain uses for communication. The field is optional when the AppNetworkAccessType parameter is set to PublicInternetOnly for domains created from Amazon SageMaker Unified Studio.
7440+
vpc_id: The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication. The field is optional when the AppNetworkAccessType parameter is set to PublicInternetOnly for domains created from Amazon SageMaker Unified Studio.
74417441
tags: Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API. Tags that you specify for the Domain are also added to all Apps that the Domain launches.
74427442
app_network_access_type: Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly. PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon SageMaker AI, which allows direct internet access VpcOnly - All traffic is through the specified VPC and subnets
74437443
home_efs_file_system_kms_key_id: Use KmsKeyId.
@@ -31261,6 +31261,7 @@ def create(
3126131261
source_ip_config: Optional[shapes.SourceIpConfig] = Unassigned(),
3126231262
tags: Optional[List[shapes.Tag]] = Unassigned(),
3126331263
workforce_vpc_config: Optional[shapes.WorkforceVpcConfigRequest] = Unassigned(),
31264+
ip_address_type: Optional[str] = Unassigned(),
3126431265
session: Optional[Session] = None,
3126531266
region: Optional[str] = None,
3126631267
) -> Optional["Workforce"]:
@@ -31274,6 +31275,7 @@ def create(
3127431275
source_ip_config:
3127531276
tags: An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define.
3127631277
workforce_vpc_config: Use this parameter to configure a workforce using VPC.
31278+
ip_address_type: Use this parameter to specify whether you want IPv4 only or dualstack (IPv4 and IPv6) to support your labeling workforce.
3127731279
session: Boto3 session.
3127831280
region: Region name.
3127931281

@@ -31307,6 +31309,7 @@ def create(
3130731309
"WorkforceName": workforce_name,
3130831310
"Tags": tags,
3130931311
"WorkforceVpcConfig": workforce_vpc_config,
31312+
"IpAddressType": ip_address_type,
3131031313
}
3131131314

3131231315
operation_input_args = Base.populate_chained_attributes(
@@ -31417,6 +31420,7 @@ def update(
3141731420
source_ip_config: Optional[shapes.SourceIpConfig] = Unassigned(),
3141831421
oidc_config: Optional[shapes.OidcConfig] = Unassigned(),
3141931422
workforce_vpc_config: Optional[shapes.WorkforceVpcConfigRequest] = Unassigned(),
31423+
ip_address_type: Optional[str] = Unassigned(),
3142031424
) -> Optional["Workforce"]:
3142131425
"""
3142231426
Update a Workforce resource
@@ -31425,6 +31429,7 @@ def update(
3142531429
source_ip_config: A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce. Maximum: Ten CIDR values
3142631430
oidc_config: Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.
3142731431
workforce_vpc_config: Use this parameter to update your VPC configuration for a workforce.
31432+
ip_address_type: Use this parameter to specify whether you want IPv4 only or dualstack (IPv4 and IPv6) to support your labeling workforce.
3142831433

3142931434
Returns:
3143031435
The Workforce resource.
@@ -31450,6 +31455,7 @@ def update(
3145031455
"SourceIpConfig": source_ip_config,
3145131456
"OidcConfig": oidc_config,
3145231457
"WorkforceVpcConfig": workforce_vpc_config,
31458+
"IpAddressType": ip_address_type,
3145331459
}
3145431460
logger.debug(f"Input request: {operation_input_args}")
3145531461
# serialize the input request

0 commit comments

Comments
 (0)