Skip to content

Commit ce78783

Browse files
feat: update AWS API models
1 parent 3e5d4bf commit ce78783

5 files changed

Lines changed: 343 additions & 12 deletions

File tree

codegen/sdk/aws-models/connect.json

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,9 @@
15031503
{
15041504
"target": "com.amazonaws.connect#DeleteAttachedFile"
15051505
},
1506+
{
1507+
"target": "com.amazonaws.connect#DeleteContactData"
1508+
},
15061509
{
15071510
"target": "com.amazonaws.connect#DeleteContactEvaluation"
15081511
},
@@ -8947,6 +8950,35 @@
89478950
"target": "com.amazonaws.connect#ContactEvaluation"
89488951
}
89498952
},
8953+
"com.amazonaws.connect#ContactField": {
8954+
"type": "enum",
8955+
"members": {
8956+
"CUSTOMER_ENDPOINT": {
8957+
"target": "smithy.api#Unit",
8958+
"traits": {
8959+
"smithy.api#enumValue": "CUSTOMER_ENDPOINT"
8960+
}
8961+
},
8962+
"ADDITIONAL_EMAIL_RECIPIENTS": {
8963+
"target": "smithy.api#Unit",
8964+
"traits": {
8965+
"smithy.api#enumValue": "ADDITIONAL_EMAIL_RECIPIENTS"
8966+
}
8967+
},
8968+
"EMAIL_SUBJECT": {
8969+
"target": "smithy.api#Unit",
8970+
"traits": {
8971+
"smithy.api#enumValue": "EMAIL_SUBJECT"
8972+
}
8973+
}
8974+
}
8975+
},
8976+
"com.amazonaws.connect#ContactFields": {
8977+
"type": "list",
8978+
"member": {
8979+
"target": "com.amazonaws.connect#ContactField"
8980+
}
8981+
},
89508982
"com.amazonaws.connect#ContactFilter": {
89518983
"type": "structure",
89528984
"members": {
@@ -10054,6 +10086,19 @@
1005410086
"smithy.api#httpError": 410
1005510087
}
1005610088
},
10089+
"com.amazonaws.connect#ContactNotTerminatedException": {
10090+
"type": "structure",
10091+
"members": {
10092+
"Message": {
10093+
"target": "com.amazonaws.connect#Message"
10094+
}
10095+
},
10096+
"traits": {
10097+
"smithy.api#documentation": "<p>The contact has not been disconnected and is not in a terminated state. PII can be deleted\n only from a contact that has been disconnected. This error is returned with an HTTP 409 status\n code.</p>",
10098+
"smithy.api#error": "client",
10099+
"smithy.api#httpError": 409
10100+
}
10101+
},
1005710102
"com.amazonaws.connect#ContactParticipantRole": {
1005810103
"type": "enum",
1005910104
"members": {
@@ -16724,6 +16769,81 @@
1672416769
"smithy.api#output": {}
1672516770
}
1672616771
},
16772+
"com.amazonaws.connect#DeleteContactData": {
16773+
"type": "operation",
16774+
"input": {
16775+
"target": "com.amazonaws.connect#DeleteContactDataRequest"
16776+
},
16777+
"output": {
16778+
"target": "com.amazonaws.connect#DeleteContactDataResponse"
16779+
},
16780+
"errors": [
16781+
{
16782+
"target": "com.amazonaws.connect#ContactNotTerminatedException"
16783+
},
16784+
{
16785+
"target": "com.amazonaws.connect#InternalServiceException"
16786+
},
16787+
{
16788+
"target": "com.amazonaws.connect#InvalidParameterException"
16789+
},
16790+
{
16791+
"target": "com.amazonaws.connect#InvalidRequestException"
16792+
},
16793+
{
16794+
"target": "com.amazonaws.connect#ResourceNotFoundException"
16795+
},
16796+
{
16797+
"target": "com.amazonaws.connect#ThrottlingException"
16798+
}
16799+
],
16800+
"traits": {
16801+
"smithy.api#documentation": "<p>Deletes the specified fields containing personally identifiable information (PII) from a\n contact in the specified Connect Customer instance. This operation redacts PII (such as\n customer endpoints, additional email recipients, and the email subject) from the contact and its\n associated contact trace record (CTR). The contact must be in a terminated state.</p>\n <important>\n <p>This operation performs a hard deletion of the specified PII and cannot be undone. There is\n no retention period; after the data is deleted, it cannot be recovered. Only fields that\n Connect Customer identifies and stores as PII are removed. Any PII that you place in fields\n outside the scope of this operation remains your responsibility to remove.</p>\n </important>",
16802+
"smithy.api#http": {
16803+
"method": "POST",
16804+
"uri": "/contact/delete/{InstanceId}/{ContactId}",
16805+
"code": 200
16806+
}
16807+
}
16808+
},
16809+
"com.amazonaws.connect#DeleteContactDataRequest": {
16810+
"type": "structure",
16811+
"members": {
16812+
"InstanceId": {
16813+
"target": "com.amazonaws.connect#InstanceId",
16814+
"traits": {
16815+
"smithy.api#documentation": "<p>The identifier of the Connect Customer instance. You can <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html\">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>",
16816+
"smithy.api#httpLabel": {},
16817+
"smithy.api#required": {}
16818+
}
16819+
},
16820+
"ContactId": {
16821+
"target": "com.amazonaws.connect#ContactId",
16822+
"traits": {
16823+
"smithy.api#documentation": "<p>The identifier of the contact. PII can be deleted only from a contact that has been\n disconnected (is in a terminated state).</p>",
16824+
"smithy.api#httpLabel": {},
16825+
"smithy.api#required": {}
16826+
}
16827+
},
16828+
"ContactFields": {
16829+
"target": "com.amazonaws.connect#ContactFields",
16830+
"traits": {
16831+
"smithy.api#documentation": "<p>The categories of PII to redact from the contact. Valid values are\n <code>CUSTOMER_ENDPOINT</code>, <code>ADDITIONAL_EMAIL_RECIPIENTS</code>, and\n <code>EMAIL_SUBJECT</code>. <code>ADDITIONAL_EMAIL_RECIPIENTS</code> and <code>EMAIL_SUBJECT</code>\n are supported only for contacts in the email channel.</p>",
16832+
"smithy.api#required": {}
16833+
}
16834+
}
16835+
},
16836+
"traits": {
16837+
"smithy.api#input": {}
16838+
}
16839+
},
16840+
"com.amazonaws.connect#DeleteContactDataResponse": {
16841+
"type": "structure",
16842+
"members": {},
16843+
"traits": {
16844+
"smithy.api#output": {}
16845+
}
16846+
},
1672716847
"com.amazonaws.connect#DeleteContactEvaluation": {
1672816848
"type": "operation",
1672916849
"input": {

codegen/sdk/aws-models/ec2.json

Lines changed: 129 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19539,6 +19539,30 @@
1953919539
"smithy.api#documentation": "<p>The value is <code>windows</code> for Windows instances in an EC2 Fleet. Otherwise, the value is\n blank.</p>",
1954019540
"smithy.api#xmlName": "platform"
1954119541
}
19542+
},
19543+
"AvailabilityZoneId": {
19544+
"target": "com.amazonaws.ec2#AvailabilityZoneId",
19545+
"traits": {
19546+
"aws.protocols#ec2QueryName": "AvailabilityZoneId",
19547+
"smithy.api#documentation": "<p>The ID of the Availability Zone in which the instance was launched. For example,\n <code>use2-az1</code>.</p>\n <p>Supported only for fleets of type <code>instant</code>.</p>",
19548+
"smithy.api#xmlName": "availabilityZoneId"
19549+
}
19550+
},
19551+
"AvailabilityZone": {
19552+
"target": "com.amazonaws.ec2#AvailabilityZoneName",
19553+
"traits": {
19554+
"aws.protocols#ec2QueryName": "AvailabilityZone",
19555+
"smithy.api#documentation": "<p>The name of the Availability Zone in which the instance was launched. For example,\n <code>us-east-2a</code>.</p>\n <p>Supported only for fleets of type <code>instant</code>.</p>",
19556+
"smithy.api#xmlName": "availabilityZone"
19557+
}
19558+
},
19559+
"SubnetId": {
19560+
"target": "com.amazonaws.ec2#SubnetId",
19561+
"traits": {
19562+
"aws.protocols#ec2QueryName": "SubnetId",
19563+
"smithy.api#documentation": "<p>The ID of the subnet in which the instance was launched.</p>\n <p>Supported only for fleets of type <code>instant</code>.</p>",
19564+
"smithy.api#xmlName": "subnetId"
19565+
}
1954219566
}
1954319567
},
1954419568
"traits": {
@@ -19643,7 +19667,7 @@
1964319667
"TagSpecifications": {
1964419668
"target": "com.amazonaws.ec2#TagSpecificationList",
1964519669
"traits": {
19646-
"smithy.api#documentation": "<p>The key-value pair for tagging the EC2 Fleet request on creation. For more information, see \n <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources\">Tag your resources</a>.</p>\n <p>If the fleet type is <code>instant</code>, specify a resource type of <code>fleet</code> \n to tag the fleet or <code>instance</code> to tag the instances at launch.</p>\n <p>If the fleet type is <code>maintain</code> or <code>request</code>, specify a resource\n type of <code>fleet</code> to tag the fleet. You cannot specify a resource type of\n <code>instance</code>. To tag instances at launch, specify the tags in a <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template\">launch template</a>.</p>",
19670+
"smithy.api#documentation": "<p>The key-value pair for tagging the EC2 Fleet request on creation. For more information, see \n <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources\">Tag your resources</a>.</p>\n <p>If the fleet type is <code>instant</code>, specify a resource type of <code>fleet</code> \n to tag the fleet, <code>instance</code> to tag the instances at launch,\n <code>volume</code> to tag the volumes at launch, or <code>network-interface</code> to\n tag the network interfaces at launch.</p>\n <p>If the fleet type is <code>maintain</code> or <code>request</code>, specify a resource\n type of <code>fleet</code> to tag the fleet. You cannot specify a resource type of\n <code>instance</code>, <code>volume</code>, or <code>network-interface</code>. To tag instances at launch, specify the tags in a <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template\">launch template</a>.</p>",
1964719671
"smithy.api#xmlName": "TagSpecification"
1964819672
}
1964919673
},
@@ -62992,6 +63016,43 @@
6299263016
}
6299363017
}
6299463018
},
63019+
"com.amazonaws.ec2#FleetHttpTokensState": {
63020+
"type": "enum",
63021+
"members": {
63022+
"OPTIONAL": {
63023+
"target": "smithy.api#Unit",
63024+
"traits": {
63025+
"smithy.api#enumValue": "optional"
63026+
}
63027+
},
63028+
"REQUIRED": {
63029+
"target": "smithy.api#Unit",
63030+
"traits": {
63031+
"smithy.api#enumValue": "required"
63032+
}
63033+
}
63034+
}
63035+
},
63036+
"com.amazonaws.ec2#FleetIamInstanceProfileSpecificationRequest": {
63037+
"type": "structure",
63038+
"members": {
63039+
"Arn": {
63040+
"target": "com.amazonaws.ec2#String",
63041+
"traits": {
63042+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the instance profile.</p>"
63043+
}
63044+
},
63045+
"Name": {
63046+
"target": "com.amazonaws.ec2#String",
63047+
"traits": {
63048+
"smithy.api#documentation": "<p>The name of the instance profile.</p>"
63049+
}
63050+
}
63051+
},
63052+
"traits": {
63053+
"smithy.api#documentation": "<p>Describes an IAM instance profile. Supported only for fleets of type\n <code>instant</code>.</p>"
63054+
}
63055+
},
6299563056
"com.amazonaws.ec2#FleetId": {
6299663057
"type": "string"
6299763058
},
@@ -63012,6 +63073,49 @@
6301263073
}
6301363074
}
6301463075
},
63076+
"com.amazonaws.ec2#FleetInstanceMetadataEndpointState": {
63077+
"type": "enum",
63078+
"members": {
63079+
"DISABLED": {
63080+
"target": "smithy.api#Unit",
63081+
"traits": {
63082+
"smithy.api#enumValue": "disabled"
63083+
}
63084+
},
63085+
"ENABLED": {
63086+
"target": "smithy.api#Unit",
63087+
"traits": {
63088+
"smithy.api#enumValue": "enabled"
63089+
}
63090+
}
63091+
}
63092+
},
63093+
"com.amazonaws.ec2#FleetInstanceMetadataOptionsRequest": {
63094+
"type": "structure",
63095+
"members": {
63096+
"HttpTokens": {
63097+
"target": "com.amazonaws.ec2#FleetHttpTokensState",
63098+
"traits": {
63099+
"smithy.api#documentation": "<p>Indicates whether IMDSv2 is required.</p>\n <ul>\n <li>\n <p>\n <code>optional</code> - IMDSv2 is optional, which means that you can use either\n IMDSv2 or IMDSv1.</p>\n </li>\n <li>\n <p>\n <code>required</code> - IMDSv2 is required, which means that IMDSv1 is\n disabled, and you must use IMDSv2.</p>\n </li>\n </ul>"
63100+
}
63101+
},
63102+
"HttpPutResponseHopLimit": {
63103+
"target": "com.amazonaws.ec2#Integer",
63104+
"traits": {
63105+
"smithy.api#documentation": "<p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel.</p>\n <p>Default: <code>1</code>\n </p>\n <p>Possible values: Integers from 1 to 64</p>"
63106+
}
63107+
},
63108+
"HttpEndpoint": {
63109+
"target": "com.amazonaws.ec2#FleetInstanceMetadataEndpointState",
63110+
"traits": {
63111+
"smithy.api#documentation": "<p>Enables or disables the HTTP metadata endpoint on your instances.</p>\n <ul>\n <li>\n <p>\n <code>enabled</code> - The HTTP metadata endpoint is enabled.</p>\n </li>\n <li>\n <p>\n <code>disabled</code> - The HTTP metadata endpoint is disabled.</p>\n </li>\n </ul>"
63112+
}
63113+
}
63114+
},
63115+
"traits": {
63116+
"smithy.api#documentation": "<p>Describes the metadata options for the instances. Supported only for fleets of type\n <code>instant</code>.</p>"
63117+
}
63118+
},
6301563119
"com.amazonaws.ec2#FleetLaunchTemplateConfig": {
6301663120
"type": "structure",
6301763121
"members": {
@@ -63239,13 +63343,31 @@
6323963343
"smithy.api#documentation": "<p>The location where the instance launched, if applicable.</p>"
6324063344
}
6324163345
},
63346+
"KeyName": {
63347+
"target": "com.amazonaws.ec2#String",
63348+
"traits": {
63349+
"smithy.api#documentation": "<p>The name of the key pair to use for the instances.</p>\n <p>Supported only for fleets of type <code>instant</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html\">Amazon EC2 key pairs</a>\n in the <i>Amazon EC2 User Guide</i>.</p>"
63350+
}
63351+
},
6324263352
"BlockDeviceMappings": {
6324363353
"target": "com.amazonaws.ec2#FleetBlockDeviceMappingRequestList",
6324463354
"traits": {
6324563355
"smithy.api#documentation": "<p>The block device mappings, which define the EBS volumes and instance store volumes to\n attach to the instance at launch.</p>\n <p>Supported only for fleets of type <code>instant</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html\">Block device mappings\n for volumes on Amazon EC2 instances</a> in the <i>Amazon EC2 User\n Guide</i>.</p>",
6324663356
"smithy.api#xmlName": "BlockDeviceMapping"
6324763357
}
6324863358
},
63359+
"IamInstanceProfile": {
63360+
"target": "com.amazonaws.ec2#FleetIamInstanceProfileSpecificationRequest",
63361+
"traits": {
63362+
"smithy.api#documentation": "<p>The IAM instance profile to associate with the instances.</p>\n <p>Supported only for fleets of type <code>instant</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html\">IAM roles for Amazon EC2</a>\n in the <i>Amazon EC2 User Guide</i>.</p>"
63363+
}
63364+
},
63365+
"MetadataOptions": {
63366+
"target": "com.amazonaws.ec2#FleetInstanceMetadataOptionsRequest",
63367+
"traits": {
63368+
"smithy.api#documentation": "<p>The metadata options for the instances.</p>\n <p>Supported only for fleets of type <code>instant</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html\">Configure the\n instance metadata service</a> in the <i>Amazon EC2 User Guide</i>.</p>"
63369+
}
63370+
},
6324963371
"InstanceRequirements": {
6325063372
"target": "com.amazonaws.ec2#InstanceRequirementsRequest",
6325163373
"traits": {
@@ -63321,6 +63443,12 @@
6332163443
"traits": {
6332263444
"smithy.api#documentation": "<p>The launch template version number, <code>$Latest</code>, or <code>$Default</code>. You must specify a value, otherwise the request fails.</p>\n <p>If the value is <code>$Latest</code>, Amazon EC2 uses the latest version of the launch template.</p>\n <p>If the value is <code>$Default</code>, Amazon EC2 uses the default version of the launch template.</p>"
6332363445
}
63446+
},
63447+
"LaunchTemplateSpecificationUserData": {
63448+
"target": "com.amazonaws.ec2#SensitiveUserData",
63449+
"traits": {
63450+
"smithy.api#documentation": "<p>The base64-encoded user data for instances launched by the fleet. User data is limited\n to 16 KB, in raw form, before it is base64-encoded.</p>\n <p>Supported only for fleets of type <code>instant</code>.</p>"
63451+
}
6332463452
}
6332563453
},
6332663454
"traits": {

0 commit comments

Comments
 (0)