The valid values for this parameter are as follows:
\n
\n
\n
If you specify the name parameter as Finding, specify\n Optimized, NotOptimized, or Unavailable.
\n
\n
\n
If you specify the name parameter as FindingReasonCode, specify\n CPUUnderprovisioned, CPUOverprovisioned, \n MemoryUnderprovisioned, or MemoryOverprovisioned.
\n
\n
"
+ "smithy.api#documentation": "
\n The value of the filter.\n
\n
The valid values for this parameter are as follows:
\n
\n
\n
If you specify the name parameter as Finding, specify\n Optimized, Underprovisioned, or Overprovisioned.
\n
\n
\n
If you specify the name parameter as FindingReasonCode, specify\n CPUUnderprovisioned, CPUOverprovisioned, \n MemoryUnderprovisioned, or MemoryOverprovisioned.
\n The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. \n When this preference isn't specified, we use the default value DAYS_14.\n
\n \n
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
\n "
+ "smithy.api#documentation": "
\n The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. \n When this preference isn't specified, we use the default value DAYS_14.\n
\n
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.\n
\n \n
\n
\n
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
\n
\n
\n
Auto Scaling group lookback preferences can only be set at the resource level.
Creates a new Capacity Reservation with the specified attributes.
\n
Capacity Reservations enable you to reserve capacity for your Amazon EC2 instances in a specific Availability Zone for any duration. This \n\t\t\tgives you the flexibility to selectively add capacity reservations and still get the Regional RI discounts for that usage. \n\t\t\tBy creating Capacity Reservations, you ensure that you always have access to Amazon EC2 capacity when you need it, for as long as you need it. \n\t\t\tFor more information, see Capacity Reservations in the Amazon EC2 User Guide.
\n
Your request to create a Capacity Reservation could fail if Amazon EC2 does not have sufficient capacity to\n\t\t\tfulfill the request. If your request fails due to Amazon EC2 capacity constraints, either try\n\t\t\tagain at a later time, try in a different Availability Zone, or request a smaller\n\t\t\tcapacity reservation. If your application is flexible across instance types and sizes,\n\t\t\ttry to create a Capacity Reservation with different instance attributes.
\n
Your request could also fail if the requested quantity exceeds your On-Demand Instance\n\t\t\tlimit for the selected instance type. If your request fails due to limit constraints,\n\t\t\tincrease your On-Demand Instance limit for the required instance type and try again. For\n\t\t\tmore information about increasing your instance limits, see Amazon EC2 Service\n\t\t\t\tQuotas in the Amazon EC2 User Guide.
\n\t\t\tCreate a new Capacity Reservation by splitting the available capacity of the source Capacity Reservation. The new Capacity Reservation will have the same attributes as the source Capacity Reservation except for tags. The source Capacity Reservation must be active and owned by your Amazon Web Services account.\n\t\t
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
\n\t\t\tThe number of instances in the new Capacity Reservation. The number of instances in the source Capacity Reservation was reduced by this amount.\n\t\t
Describes an Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon VPC User Guide.
\n
When you transfer an Elastic IP address, there is a two-step handshake\n between the source and transfer Amazon Web Services accounts. When the source account starts the transfer,\n the transfer account has seven days to accept the Elastic IP address\n transfer. During those seven days, the source account can view the\n pending transfer by using this action. After seven days, the\n transfer expires and ownership of the Elastic IP\n address returns to the source\n account. Accepted transfers are visible to the source account for three days\n after the transfers have been accepted.
",
+ "smithy.api#documentation": "
Describes an Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon VPC User Guide.
\n
When you transfer an Elastic IP address, there is a two-step handshake\n between the source and transfer Amazon Web Services accounts. When the source account starts the transfer,\n the transfer account has seven days to accept the Elastic IP address\n transfer. During those seven days, the source account can view the\n pending transfer by using this action. After seven days, the\n transfer expires and ownership of the Elastic IP\n address returns to the source\n account. Accepted transfers are visible to the source account for 14 days\n after the transfers have been accepted.
\n association.allocation-id - The allocation ID returned when you\n\t\t allocated the Elastic IP address (IPv4) for your network interface.
\n
\n
\n
\n association.association-id - The association ID returned when the\n\t\t network interface was associated with an IPv4 address.
\n
\n
\n
\n addresses.association.owner-id - The owner ID of the addresses associated with the network interface.
\n
\n
\n
\n addresses.association.public-ip - The association ID returned when\n\t\t the network interface was associated with the Elastic IP address\n\t\t (IPv4).
\n
\n
\n
\n addresses.primary - Whether the private IPv4 address is the primary\n IP address associated with the network interface.
\n
\n
\n
\n addresses.private-ip-address - The private IPv4 addresses\n\t\t associated with the network interface.
\n
\n
\n
\n association.ip-owner-id - The owner of the Elastic IP address\n (IPv4) associated with the network interface.
\n
\n
\n
\n association.public-ip - The address of the Elastic IP address\n (IPv4) bound to the network interface.
\n
\n
\n
\n association.public-dns-name - The public DNS name for the network\n interface (IPv4).
\n
\n
\n
\n attachment.attach-time - The time that the network interface was attached to an instance.
\n
\n
\n
\n attachment.attachment-id - The ID of the interface attachment.
\n
\n
\n
\n attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.
\n
\n
\n
\n attachment.device-index - The device index to which the network interface is attached.
\n
\n
\n
\n attachment.instance-id - The ID of the instance to which the network interface is attached.
\n
\n
\n
\n attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.
\n
\n
\n
\n attachment.status - The status of the attachment (attaching | attached | detaching | detached).
\n
\n
\n
\n availability-zone - The Availability Zone of the network interface.
\n
\n
\n
\n description - The description of the network interface.
\n
\n
\n
\n group-id - The ID of a security group associated with the network interface.
\n
\n
\n
\n ipv6-addresses.ipv6-address - An IPv6 address associated with\n the network interface.
\n mac-address - The MAC address of the network interface.
\n
\n
\n
\n network-interface-id - The ID of the network interface.
\n
\n
\n
\n owner-id - The Amazon Web Services account ID of the network interface owner.
\n
\n
\n
\n private-dns-name - The private DNS name of the network interface (IPv4).
\n
\n
\n
\n private-ip-address - The private IPv4 address or addresses of the\n network interface.
\n
\n
\n
\n requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
\n
\n
\n
\n requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service \n\t\t (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
\n
\n
\n
\n source-dest-check - Indicates whether the network interface performs source/destination checking. \n\t\t A value of true means checking is enabled, and false means checking is disabled. \n\t\t The value must be false for the network interface to perform network address translation (NAT) in your VPC.
\n
\n
\n
\n status - The status of the network interface. If the network interface is not attached to an instance, the status is available; \n\t\t if a network interface is attached to an instance the status is in-use.
\n
\n
\n
\n subnet-id - The ID of the subnet for the network interface.
\n
\n
\n
\n tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.\n For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
\n
\n
\n
\n tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
\n
\n
\n
\n vpc-id - The ID of the VPC for the network interface.
\n
\n
",
+ "smithy.api#documentation": "
One or more filters.
\n
\n
\n
\n association.allocation-id - The allocation ID returned when you\n\t\t allocated the Elastic IP address (IPv4) for your network interface.
\n
\n
\n
\n association.association-id - The association ID returned when the\n\t\t network interface was associated with an IPv4 address.
\n
\n
\n
\n addresses.association.owner-id - The owner ID of the addresses associated with the network interface.
\n
\n
\n
\n addresses.association.public-ip - The association ID returned when\n\t\t the network interface was associated with the Elastic IP address\n\t\t (IPv4).
\n
\n
\n
\n addresses.primary - Whether the private IPv4 address is the primary\n IP address associated with the network interface.
\n
\n
\n
\n addresses.private-ip-address - The private IPv4 addresses\n\t\t associated with the network interface.
\n
\n
\n
\n association.ip-owner-id - The owner of the Elastic IP address\n (IPv4) associated with the network interface.
\n
\n
\n
\n association.public-ip - The address of the Elastic IP address\n (IPv4) bound to the network interface.
\n
\n
\n
\n association.public-dns-name - The public DNS name for the network\n interface (IPv4).
\n
\n
\n
\n attachment.attach-time - The time that the network interface was attached to an instance.
\n
\n
\n
\n attachment.attachment-id - The ID of the interface attachment.
\n
\n
\n
\n attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.
\n
\n
\n
\n attachment.device-index - The device index to which the network interface is attached.
\n
\n
\n
\n attachment.instance-id - The ID of the instance to which the network interface is attached.
\n
\n
\n
\n attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.
\n
\n
\n
\n attachment.status - The status of the attachment (attaching | attached | detaching | detached).
\n
\n
\n
\n availability-zone - The Availability Zone of the network interface.
\n
\n
\n
\n description - The description of the network interface.
\n
\n
\n
\n group-id - The ID of a security group associated with the network interface.
\n
\n
\n
\n ipv6-addresses.ipv6-address - An IPv6 address associated with\n the network interface.
\n mac-address - The MAC address of the network interface.
\n
\n
\n
\n network-interface-id - The ID of the network interface.
\n
\n
\n
\n owner-id - The Amazon Web Services account ID of the network interface owner.
\n
\n
\n
\n private-dns-name - The private DNS name of the network interface (IPv4).
\n
\n
\n
\n private-ip-address - The private IPv4 address or addresses of the\n network interface.
\n
\n
\n
\n requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
\n
\n
\n
\n requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service \n\t\t (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
\n
\n
\n
\n source-dest-check - Indicates whether the network interface performs source/destination checking. \n\t\t A value of true means checking is enabled, and false means checking is disabled. \n\t\t The value must be false for the network interface to perform network address translation (NAT) in your VPC.
\n
\n
\n
\n status - The status of the network interface. If the network interface is not attached to an instance, the status is available; \n\t\t if a network interface is attached to an instance the status is in-use.
\n
\n
\n
\n subnet-id - The ID of the subnet for the network interface.
\n
\n
\n
\n tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.\n For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
\n
\n
\n
\n tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
\n
\n
\n
\n vpc-id - The ID of the VPC for the network interface.
\n association.gateway-id - The ID of the gateway involved in the\n\t\t association.
\n
\n
\n
\n association.route-table-association-id - The ID of an association\n ID for the route table.
\n
\n
\n
\n association.route-table-id - The ID of the route table involved in\n the association.
\n
\n
\n
\n association.subnet-id - The ID of the subnet involved in the\n association.
\n
\n
\n
\n association.main - Indicates whether the route table is the main\n route table for the VPC (true | false). Route tables\n that do not have an association ID are not returned in the response.
\n
\n
\n
\n owner-id - The ID of the Amazon Web Services account that owns the route table.
\n
\n
\n
\n route-table-id - The ID of the route table.
\n
\n
\n
\n route.destination-cidr-block - The IPv4 CIDR range specified in a\n route in the table.
\n
\n
\n
\n route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.
\n
\n
\n
\n route.destination-prefix-list-id - The ID (prefix) of the Amazon Web Service\n specified in a route in the table.
\n
\n
\n
\n route.egress-only-internet-gateway-id - The ID of an\n egress-only Internet gateway specified in a route in the route table.
\n
\n
\n
\n route.gateway-id - The ID of a gateway specified in a route in the table.
\n
\n
\n
\n route.instance-id - The ID of an instance specified in a route in the table.
\n
\n
\n
\n route.nat-gateway-id - The ID of a NAT gateway.
\n
\n
\n
\n route.transit-gateway-id - The ID of a transit gateway.
\n
\n
\n
\n route.origin - Describes how the route was created. \n CreateRouteTable indicates that the route was automatically\n created when the route table was created; CreateRoute indicates\n that the route was manually added to the route table;\n EnableVgwRoutePropagation indicates that the route was\n propagated by route propagation.
\n
\n
\n
\n route.state - The state of a route in the route table\n (active | blackhole). The blackhole state\n indicates that the route's target isn't available (for example, the specified\n gateway isn't attached to the VPC, the specified NAT instance has been\n terminated, and so on).
\n
\n
\n
\n route.vpc-peering-connection-id - The ID of a VPC peering\n\t\t connection specified in a route in the table.
\n
\n
\n
\n tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.\n For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
\n
\n
\n
\n tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
\n
\n
\n
\n vpc-id - The ID of the VPC for the route table.
\n
\n
",
+ "smithy.api#documentation": "
The filters.
\n
\n
\n
\n association.gateway-id - The ID of the gateway involved in the\n\t\t association.
\n
\n
\n
\n association.route-table-association-id - The ID of an association\n ID for the route table.
\n
\n
\n
\n association.route-table-id - The ID of the route table involved in\n the association.
\n
\n
\n
\n association.subnet-id - The ID of the subnet involved in the\n association.
\n
\n
\n
\n association.main - Indicates whether the route table is the main\n route table for the VPC (true | false). Route tables\n that do not have an association ID are not returned in the response.
\n
\n
\n
\n owner-id - The ID of the Amazon Web Services account that owns the route table.
\n
\n
\n
\n route-table-id - The ID of the route table.
\n
\n
\n
\n route.destination-cidr-block - The IPv4 CIDR range specified in a\n route in the table.
\n
\n
\n
\n route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.
\n
\n
\n
\n route.destination-prefix-list-id - The ID (prefix) of the Amazon Web Services service\n specified in a route in the table.
\n
\n
\n
\n route.egress-only-internet-gateway-id - The ID of an\n egress-only Internet gateway specified in a route in the route table.
\n
\n
\n
\n route.gateway-id - The ID of a gateway specified in a route in the table.
\n
\n
\n
\n route.instance-id - The ID of an instance specified in a route in the table.
\n
\n
\n
\n route.nat-gateway-id - The ID of a NAT gateway.
\n
\n
\n
\n route.transit-gateway-id - The ID of a transit gateway.
\n
\n
\n
\n route.origin - Describes how the route was created. \n CreateRouteTable indicates that the route was automatically\n created when the route table was created; CreateRoute indicates\n that the route was manually added to the route table;\n EnableVgwRoutePropagation indicates that the route was\n propagated by route propagation.
\n
\n
\n
\n route.state - The state of a route in the route table\n (active | blackhole). The blackhole state\n indicates that the route's target isn't available (for example, the specified\n gateway isn't attached to the VPC, the specified NAT instance has been\n terminated, and so on).
\n
\n
\n
\n route.vpc-peering-connection-id - The ID of a VPC peering\n\t\t connection specified in a route in the table.
\n
\n
\n
\n tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.\n For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
\n
\n
\n
\n tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
\n
\n
\n
\n vpc-id - The ID of the VPC for the route table.
Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You\n\t\t\tcannot change a Capacity Reservation's instance type, EBS optimization, instance store settings,\n\t\t\tplatform, Availability Zone, or instance eligibility. If you need to modify any of these\n\t\t\tattributes, we recommend that you cancel the Capacity Reservation, and then create a new one with\n\t\t\tthe required attributes.
"
+ "smithy.api#documentation": "
Modifies a Capacity Reservation's capacity, instance eligibility, and the conditions under which it is to be released. You\n\t\t can't modify a Capacity Reservation's instance type, EBS optimization, platform, instance store settings, Availability Zone, or\n\t\t tenancy. If you need to modify any of these attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with\n\t\t the required attributes. For more information, see Modify an active Capacity Reservation.
\n\t\t\tThe matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, \n\t\t\tany running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and \n\t\t\tare not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.\n\t\t
\n
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
Move available capacity from a source Capacity Reservation to a destination Capacity Reservation. The source Capacity Reservation and the destination Capacity Reservation must be active, owned by your Amazon Web Services account, and share the following:\n\t\t
\n
\n
\n
Instance type
\n
\n
\n
Platform
\n
\n
\n
Availability Zone
\n
\n
\n
Tenancy
\n
\n
\n
Placement group
\n
\n
\n
Capacity Reservation end time - At specific time or Manually.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
\n Ephemeris data in Orbit Ephemeris Message (OEM) format.\n
\n
\n Position, velocity, and acceleration units must be represented in km, km/s, and\n km/s**2, respectively, in ephemeris data lines. Covariance matrix line units must be\n represented in km**2 if computed from two positions, km**2/s if computed from one\n position and one velocity, and km**2/s**2 if computed from two velocities. Consult section\n 7.7.2 of The Consultative Committee for Space Data Systems (CCSDS)\n Recommended Standard for Orbit Data Messages\n for more information.\n
"
+ "smithy.api#documentation": "
\n Ephemeris data in Orbit Ephemeris Message (OEM) format.\n
\n
\n AWS Ground Station processes OEM Customer Provided Ephemerides according to the CCSDS standard with some extra restrictions. OEM files should be in KVN format. For more detail about the OEM format that AWS Ground Station supports, see OEM ephemeris format in the AWS Ground Station user guide.\n
The selection of algorithms trained on your dataset to generate the model candidates for\n an Autopilot job.
\n
\n
\n
\n For the tabular problem type TabularJobConfig:\n
\n \n
Selected algorithms must belong to the list corresponding to the training mode\n set in AutoMLJobConfig.Mode (ENSEMBLING or\n HYPERPARAMETER_TUNING). Choose a minimum of 1 algorithm.
\n \n
\n
\n
In ENSEMBLING mode:
\n
\n
\n
\"catboost\"
\n
\n
\n
\"extra-trees\"
\n
\n
\n
\"fastai\"
\n
\n
\n
\"lightgbm\"
\n
\n
\n
\"linear-learner\"
\n
\n
\n
\"nn-torch\"
\n
\n
\n
\"randomforest\"
\n
\n
\n
\"xgboost\"
\n
\n
\n
\n
\n
In HYPERPARAMETER_TUNING mode:
\n
\n
\n
\"linear-learner\"
\n
\n
\n
\"mlp\"
\n
\n
\n
\"xgboost\"
\n
\n
\n
\n
\n
\n
\n
\n For the time-series forecasting problem type TimeSeriesForecastingJobConfig:\n
\n
\n
\n
Choose your algorithms from this list.
\n
\n
\n
\"cnn-qr\"
\n
\n
\n
\"deepar\"
\n
\n
\n
\"prophet\"
\n
\n
\n
\"arima\"
\n
\n
\n
\"npts\"
\n
\n
\n
\"ets\"
\n
\n
\n
\n
\n
\n
",
+ "smithy.api#documentation": "
The selection of algorithms trained on your dataset to generate the model candidates for\n an Autopilot job.
\n
\n
\n
\n For the tabular problem type\n TabularJobConfig:\n
\n \n
Selected algorithms must belong to the list corresponding to the training mode\n set in AutoMLJobConfig.Mode (ENSEMBLING or\n HYPERPARAMETER_TUNING). Choose a minimum of 1 algorithm.
\n \n
\n
\n
In ENSEMBLING mode:
\n
\n
\n
\"catboost\"
\n
\n
\n
\"extra-trees\"
\n
\n
\n
\"fastai\"
\n
\n
\n
\"lightgbm\"
\n
\n
\n
\"linear-learner\"
\n
\n
\n
\"nn-torch\"
\n
\n
\n
\"randomforest\"
\n
\n
\n
\"xgboost\"
\n
\n
\n
\n
\n
In HYPERPARAMETER_TUNING mode:
\n
\n
\n
\"linear-learner\"
\n
\n
\n
\"mlp\"
\n
\n
\n
\"xgboost\"
\n
\n
\n
\n
\n
\n
\n
\n For the time-series forecasting problem type\n TimeSeriesForecastingJobConfig:\n
Stores the configuration information for the selection of algorithms trained on tabular data.
\n
The list of available algorithms to choose from depends on the training mode set in\n \n TabularJobConfig.Mode\n .
\n
\n
\n
\n AlgorithmsConfig should not be set if the training mode is set on AUTO.
\n
\n
\n
When AlgorithmsConfig is provided, one AutoMLAlgorithms\n attribute must be set and one only.
\n
If the list of algorithms provided as values for AutoMLAlgorithms is\n empty, CandidateGenerationConfig uses the full set of algorithms for the\n given training mode.
\n
\n
\n
When AlgorithmsConfig is not provided,\n CandidateGenerationConfig uses the full set of algorithms for the\n given training mode.
\n
\n
\n
For the list of all algorithms per problem type and training mode, see \n AutoMLAlgorithmConfig.
\n
For more information on each algorithm, see the Algorithm support section in Autopilot developer guide.
"
+ "smithy.api#documentation": "
Stores the configuration information for the selection of algorithms trained on tabular\n data.
\n
The list of available algorithms to choose from depends on the training mode set in\n \n TabularJobConfig.Mode\n .
\n
\n
\n
\n AlgorithmsConfig should not be set if the training mode is set on\n AUTO.
\n
\n
\n
When AlgorithmsConfig is provided, one AutoMLAlgorithms\n attribute must be set and one only.
\n
If the list of algorithms provided as values for AutoMLAlgorithms is\n empty, CandidateGenerationConfig uses the full set of algorithms for the\n given training mode.
\n
\n
\n
When AlgorithmsConfig is not provided,\n CandidateGenerationConfig uses the full set of algorithms for the\n given training mode.
\n
\n
\n
For the list of all algorithms per problem type and training mode, see \n AutoMLAlgorithmConfig.
\n
For more information on each algorithm, see the Algorithm support section in Autopilot developer guide.
The configuration for using EMR Serverless\n to run the AutoML job V2.
\n
To allow your AutoML job V2 to automatically initiate a remote job on EMR Serverless\n when additional compute resources are needed to process large datasets, you need to provide\n an EmrServerlessComputeConfig object, which includes an\n ExecutionRoleARN attribute, to the AutoMLComputeConfig of the\n AutoML job V2 input request.
\n
By seamlessly transitioning to EMR Serverless when required, the AutoML job can handle\n datasets that would otherwise exceed the initially provisioned resources, without any\n manual intervention from you.
\n
EMR Serverless is available for the tabular and time series problem types. We\n recommend setting up this option for tabular datasets larger than 5 GB and time series\n datasets larger than 30 GB.
Your Autopilot job trains a default set of algorithms on your dataset. For tabular and\n time-series data, you can customize the algorithm list by selecting a subset of algorithms\n for your problem type.
\n
\n AlgorithmsConfig stores the customized selection of algorithms to train on\n your data.
\n
\n
\n
\n For the tabular problem type TabularJobConfig,\n the list of available algorithms to choose from depends on the training mode set\n in \n AutoMLJobConfig.Mode\n .
\n
\n
\n
\n AlgorithmsConfig should not be set when the training mode\n AutoMLJobConfig.Mode is set to AUTO.
\n
\n
\n
When AlgorithmsConfig is provided, one\n AutoMLAlgorithms attribute must be set and one only.
\n
If the list of algorithms provided as values for\n AutoMLAlgorithms is empty,\n CandidateGenerationConfig uses the full set of algorithms for\n the given training mode.
\n
\n
\n
When AlgorithmsConfig is not provided,\n CandidateGenerationConfig uses the full set of algorithms for\n the given training mode.
\n
\n
\n
For the list of all algorithms per training mode, see \n AlgorithmConfig.
\n
For more information on each algorithm, see the Algorithm support section in the Autopilot developer guide.
\n
\n
\n
\n For the time-series forecasting problem type TimeSeriesForecastingJobConfig,\n choose your algorithms from the list provided in\n \n AlgorithmConfig.
When AlgorithmsConfig is provided, one\n AutoMLAlgorithms attribute must be set and one only.
\n
If the list of algorithms provided as values for\n AutoMLAlgorithms is empty,\n CandidateGenerationConfig uses the full set of algorithms for\n time-series forecasting.
\n
\n
\n
When AlgorithmsConfig is not provided,\n CandidateGenerationConfig uses the full set of algorithms for\n time-series forecasting.
\n
\n
\n
\n
"
+ "smithy.api#documentation": "
Your Autopilot job trains a default set of algorithms on your dataset. For tabular and\n time-series data, you can customize the algorithm list by selecting a subset of algorithms\n for your problem type.
\n
\n AlgorithmsConfig stores the customized selection of algorithms to train on\n your data.
\n
\n
\n
\n For the tabular problem type\n TabularJobConfig, the list of available algorithms to\n choose from depends on the training mode set in \n AutoMLJobConfig.Mode\n .
\n
\n
\n
\n AlgorithmsConfig should not be set when the training mode\n AutoMLJobConfig.Mode is set to AUTO.
\n
\n
\n
When AlgorithmsConfig is provided, one\n AutoMLAlgorithms attribute must be set and one only.
\n
If the list of algorithms provided as values for\n AutoMLAlgorithms is empty,\n CandidateGenerationConfig uses the full set of algorithms for\n the given training mode.
\n
\n
\n
When AlgorithmsConfig is not provided,\n CandidateGenerationConfig uses the full set of algorithms for\n the given training mode.
\n
\n
\n
For the list of all algorithms per training mode, see \n AlgorithmConfig.
\n
For more information on each algorithm, see the Algorithm support section in the Autopilot developer guide.
\n
\n
\n
\n For the time-series forecasting problem type\n TimeSeriesForecastingJobConfig, choose your algorithms\n from the list provided in \n AlgorithmConfig.
When AlgorithmsConfig is provided, one\n AutoMLAlgorithms attribute must be set and one only.
\n
If the list of algorithms provided as values for\n AutoMLAlgorithms is empty,\n CandidateGenerationConfig uses the full set of algorithms for\n time-series forecasting.
\n
\n
\n
When AlgorithmsConfig is not provided,\n CandidateGenerationConfig uses the full set of algorithms for\n time-series forecasting.
\n CreateAutoMLJobV2 can manage tabular problem types identical to those of\n its previous version CreateAutoMLJob, as well as time-series forecasting,\n non-tabular problem types such as image or text classification, and text generation\n (LLMs fine-tuning).
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.
\n
An AutoML job in SageMaker is a fully automated process that allows you to build machine\n learning models with minimal effort and machine learning expertise. When initiating an\n AutoML job, you provide your data and optionally specify parameters tailored to your use\n case. SageMaker then automates the entire model development lifecycle, including data\n preprocessing, model training, tuning, and evaluation. AutoML jobs are designed to simplify\n and accelerate the model building process by automating various tasks and exploring\n different combinations of machine learning algorithms, data preprocessing techniques, and\n hyperparameter values. The output of an AutoML job comprises one or more trained models\n ready for deployment and inference. Additionally, SageMaker AutoML jobs generate a candidate\n model leaderboard, allowing you to select the best-performing model for deployment.
\n CreateAutoMLJobV2 can manage tabular problem types identical to those of\n its previous version CreateAutoMLJob, as well as time-series forecasting,\n non-tabular problem types such as image or text classification, and text generation\n (LLMs fine-tuning).
\n CreateAutoMLJobV2 can manage tabular problem types identical to those of\n its previous version CreateAutoMLJob, as well as time-series forecasting,\n non-tabular problem types such as image or text classification, and text generation\n (LLMs fine-tuning).
For the list of available problem types supported by CreateAutoMLJobV2, see\n AutoMLProblemTypeConfig.
\n
You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.
"
+ "smithy.api#documentation": "
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.
\n
An AutoML job in SageMaker is a fully automated process that allows you to build machine\n learning models with minimal effort and machine learning expertise. When initiating an\n AutoML job, you provide your data and optionally specify parameters tailored to your use\n case. SageMaker then automates the entire model development lifecycle, including data\n preprocessing, model training, tuning, and evaluation. AutoML jobs are designed to simplify\n and accelerate the model building process by automating various tasks and exploring\n different combinations of machine learning algorithms, data preprocessing techniques, and\n hyperparameter values. The output of an AutoML job comprises one or more trained models\n ready for deployment and inference. Additionally, SageMaker AutoML jobs generate a candidate\n model leaderboard, allowing you to select the best-performing model for deployment.
AutoML jobs V2 support various problem types such as regression, binary, and multiclass\n classification with tabular data, text and image classification, time-series forecasting,\n and fine-tuning of large language models (LLMs) for text generation.
\n CreateAutoMLJobV2 can manage tabular problem types identical to those of\n its previous version CreateAutoMLJob, as well as time-series forecasting,\n non-tabular problem types such as image or text classification, and text generation\n (LLMs fine-tuning).
This structure specifies how to split the data into train and validation\n datasets.
\n
The validation and training datasets must contain the same headers. For jobs created by\n calling CreateAutoMLJob, the validation dataset must be less than 2 GB in\n size.
\n \n
This attribute must not be set for the time-series forecasting problem type, as Autopilot\n automatically splits the input dataset into training and validation sets.
The Amazon Resource Name (ARN) of the Amazon Web Services IAM role that is assumed for\n running Amazon EMR Serverless jobs in SageMaker Canvas. This role should have the necessary\n permissions to read and write data attached and a trust relationship with\n EMR Serverless.
The local path of a directory where you want Amazon SageMaker to upload its contents to Amazon S3. \n LocalPath is an absolute path to a directory containing output files. \n This directory will be created by the platform and exist when your container's \n entrypoint is invoked.
The local path of a directory where you want Amazon SageMaker to upload its contents to Amazon S3. \n LocalPath is an absolute path to a directory containing output files. \n This directory will be created by the platform and exist when your container's \n entrypoint is invoked.
Specifies an option from a collection of preconfigured Amazon Machine Image (AMI)\n images. Each image is configured by Amazon Web Services with a set of software and driver\n versions. Amazon Web Services optimizes these configurations for different machine\n learning workloads.
\n
By selecting an AMI version, you can ensure that your inference environment is\n compatible with specific software requirements, such as CUDA driver versions, Linux\n kernel versions, or Amazon Web Services Neuron driver versions.
"
+ "smithy.api#documentation": "
Specifies an option from a collection of preconfigured Amazon Machine Image (AMI)\n images. Each image is configured by Amazon Web Services with a set of software and driver\n versions. Amazon Web Services optimizes these configurations for different machine\n learning workloads.
\n
By selecting an AMI version, you can ensure that your inference environment is\n compatible with specific software requirements, such as CUDA driver versions, Linux\n kernel versions, or Amazon Web Services Neuron driver versions.
\n
The AMI version names, and their configurations, are the following:
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
Auto Scaling group lookback preferences can only be set at the resource level.
The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. When this preference isn't specified, we use the following default values.
CPU utilization:
P99_5 for threshold
PERCENT_20 for headroom
Memory utilization:
PERCENT_20 for headroom
You can only set CPU and memory utilization preferences for the Amazon EC2 instance resource type.
The threshold setting isn’t available for memory utilization.
The preference to control which resource type values are considered when generating rightsizing recommendations. You can specify this preference as a combination of include and exclude lists. You must specify either an includeList or excludeList. If the preference is an empty set of resource type values, an error occurs.
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
- ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
+ ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
+ ///
+ ///
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
+ ///
+ ///
Auto Scaling group lookback preferences can only be set at the resource level.
The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. When this preference isn't specified, we use the following default values.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
- ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
+ ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
+ ///
+ ///
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
+ ///
+ ///
Auto Scaling group lookback preferences can only be set at the resource level.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
- ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
+ ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
+ ///
+ ///
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
+ ///
+ ///
Auto Scaling group lookback preferences can only be set at the resource level.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
- ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
+ ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
+ ///
+ ///
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
+ ///
+ ///
Auto Scaling group lookback preferences can only be set at the resource level.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
- ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
+ ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
+ ///
+ ///
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
+ ///
+ ///
Auto Scaling group lookback preferences can only be set at the resource level.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
- ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
+ ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
+ ///
+ ///
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
+ ///
+ ///
Auto Scaling group lookback preferences can only be set at the resource level.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
- ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
+ ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
+ ///
+ ///
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
+ ///
+ ///
Auto Scaling group lookback preferences can only be set at the resource level.
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
- ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. When this preference isn't specified, we use the default value DAYS_14.
+ ///
You can only set this preference for the Amazon EC2 instance and Auto Scaling group resource types.
+ ///
+ ///
+ ///
Amazon EC2 instance lookback preferences can be set at the organization, account, and resource levels.
+ ///
+ ///
Auto Scaling group lookback preferences can only be set at the resource level.
The valid values for this parameter are as follows:
///
///
- ///
If you specify the name parameter as Finding, specify Optimized, NotOptimized, or Unavailable.
+ ///
If you specify the name parameter as Finding, specify Optimized, Underprovisioned, or Overprovisioned.
///
///
If you specify the name parameter as FindingReasonCode, specify CPUUnderprovisioned, CPUOverprovisioned, MemoryUnderprovisioned, or MemoryOverprovisioned.
The valid values for this parameter are as follows:
///
///
- ///
If you specify the name parameter as Finding, specify Optimized, NotOptimized, or Unavailable.
+ ///
If you specify the name parameter as Finding, specify Optimized, Underprovisioned, or Overprovisioned.
///
///
If you specify the name parameter as FindingReasonCode, specify CPUUnderprovisioned, CPUOverprovisioned, MemoryUnderprovisioned, or MemoryOverprovisioned.
The valid values for this parameter are as follows:
///
///
- ///
If you specify the name parameter as Finding, specify Optimized, NotOptimized, or Unavailable.
+ ///
If you specify the name parameter as Finding, specify Optimized, Underprovisioned, or Overprovisioned.
///
///
If you specify the name parameter as FindingReasonCode, specify CPUUnderprovisioned, CPUOverprovisioned, MemoryUnderprovisioned, or MemoryOverprovisioned.
The valid values for this parameter are as follows:
///
///
- ///
If you specify the name parameter as Finding, specify Optimized, NotOptimized, or Unavailable.
+ ///
If you specify the name parameter as Finding, specify Optimized, Underprovisioned, or Overprovisioned.
///
///
If you specify the name parameter as FindingReasonCode, specify CPUUnderprovisioned, CPUOverprovisioned, MemoryUnderprovisioned, or MemoryOverprovisioned.
The valid values for this parameter are as follows:
///
///
- ///
If you specify the name parameter as Finding, specify Optimized, NotOptimized, or Unavailable.
+ ///
If you specify the name parameter as Finding, specify Optimized, Underprovisioned, or Overprovisioned.
///
///
If you specify the name parameter as FindingReasonCode, specify CPUUnderprovisioned, CPUOverprovisioned, MemoryUnderprovisioned, or MemoryOverprovisioned.
///
diff --git a/sdk/config/Cargo.toml b/sdk/config/Cargo.toml
index fa7c90dee9df..385216005e7d 100644
--- a/sdk/config/Cargo.toml
+++ b/sdk/config/Cargo.toml
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-config"
-version = "1.38.0"
+version = "1.39.0"
authors = ["AWS Rust SDK Team ", "Russell Cohen "]
description = "AWS SDK for AWS Config"
edition = "2021"
diff --git a/sdk/config/README.md b/sdk/config/README.md
index 24e5ca950231..43c99ee97579 100644
--- a/sdk/config/README.md
+++ b/sdk/config/README.md
@@ -16,7 +16,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-aws-sdk-config = "1.38.0"
+aws-sdk-config = "1.39.0"
tokio = { version = "1", features = ["full"] }
```
diff --git a/sdk/config/src/lib.rs b/sdk/config/src/lib.rs
index 34337f2c2773..0af8577bc1d0 100644
--- a/sdk/config/src/lib.rs
+++ b/sdk/config/src/lib.rs
@@ -33,7 +33,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-//! aws-sdk-config = "1.38.0"
+//! aws-sdk-config = "1.39.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
diff --git a/sdk/ec2/Cargo.toml b/sdk/ec2/Cargo.toml
index 84ee49464d63..9a012ef05281 100644
--- a/sdk/ec2/Cargo.toml
+++ b/sdk/ec2/Cargo.toml
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-ec2"
-version = "1.64.0"
+version = "1.65.0"
authors = ["AWS Rust SDK Team ", "Russell Cohen "]
description = "AWS SDK for Amazon Elastic Compute Cloud"
edition = "2021"
diff --git a/sdk/ec2/README.md b/sdk/ec2/README.md
index ae2ac148d073..46892619a47f 100644
--- a/sdk/ec2/README.md
+++ b/sdk/ec2/README.md
@@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-aws-sdk-ec2 = "1.64.0"
+aws-sdk-ec2 = "1.65.0"
tokio = { version = "1", features = ["full"] }
```
diff --git a/sdk/ec2/src/client.rs b/sdk/ec2/src/client.rs
index 1f09ba97c326..3368d4f33ab2 100644
--- a/sdk/ec2/src/client.rs
+++ b/sdk/ec2/src/client.rs
@@ -456,6 +456,8 @@ mod copy_snapshot;
mod create_capacity_reservation;
+mod create_capacity_reservation_by_splitting;
+
mod create_capacity_reservation_fleet;
mod create_carrier_gateway;
@@ -1487,6 +1489,8 @@ mod move_address_to_vpc;
mod move_byoip_cidr_to_ipam;
+mod move_capacity_reservation_instances;
+
mod provision_byoip_cidr;
mod provision_ipam_byoasn;
diff --git a/sdk/ec2/src/client/create_capacity_reservation_by_splitting.rs b/sdk/ec2/src/client/create_capacity_reservation_by_splitting.rs
new file mode 100644
index 000000000000..0dbcccc61978
--- /dev/null
+++ b/sdk/ec2/src/client/create_capacity_reservation_by_splitting.rs
@@ -0,0 +1,23 @@
+// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
+impl super::Client {
+ /// Constructs a fluent builder for the [`CreateCapacityReservationBySplitting`](crate::operation::create_capacity_reservation_by_splitting::builders::CreateCapacityReservationBySplittingFluentBuilder) operation.
+ ///
+ /// - The fluent builder is configurable:
+ /// - [`dry_run(bool)`](crate::operation::create_capacity_reservation_by_splitting::builders::CreateCapacityReservationBySplittingFluentBuilder::dry_run) / [`set_dry_run(Option)`](crate::operation::create_capacity_reservation_by_splitting::builders::CreateCapacityReservationBySplittingFluentBuilder::set_dry_run): required: **false**
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
The tags to apply to the new Capacity Reservation.
+ /// - On success, responds with [`CreateCapacityReservationBySplittingOutput`](crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput) with field(s):
+ /// - [`source_capacity_reservation(Option)`](crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput::source_capacity_reservation):
Information about the source Capacity Reservation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
/// - On success, responds with [`CreateNetworkInterfacePermissionOutput`](crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionOutput) with field(s):
diff --git a/sdk/ec2/src/client/describe_network_interface_permissions.rs b/sdk/ec2/src/client/describe_network_interface_permissions.rs
index 38586b4f0ea0..8f5569dff5f1 100644
--- a/sdk/ec2/src/client/describe_network_interface_permissions.rs
+++ b/sdk/ec2/src/client/describe_network_interface_permissions.rs
@@ -5,7 +5,7 @@ impl super::Client {
///
/// - The fluent builder is configurable:
/// - [`network_interface_permission_ids(impl Into)`](crate::operation::describe_network_interface_permissions::builders::DescribeNetworkInterfacePermissionsFluentBuilder::network_interface_permission_ids) / [`set_network_interface_permission_ids(Option>)`](crate::operation::describe_network_interface_permissions::builders::DescribeNetworkInterfacePermissionsFluentBuilder::set_network_interface_permission_ids): required: **false**
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.
/// - On success, responds with [`DescribeNetworkInterfacePermissionsOutput`](crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsOutput) with field(s):
diff --git a/sdk/ec2/src/client/describe_network_interfaces.rs b/sdk/ec2/src/client/describe_network_interfaces.rs
index 6f47eff165f5..5387c1f77a2b 100644
--- a/sdk/ec2/src/client/describe_network_interfaces.rs
+++ b/sdk/ec2/src/client/describe_network_interfaces.rs
@@ -4,7 +4,7 @@ impl super::Client {
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_network_interfaces::builders::DescribeNetworkInterfacesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
- /// - [`filters(Filter)`](crate::operation::describe_network_interfaces::builders::DescribeNetworkInterfacesFluentBuilder::filters) / [`set_filters(Option>)`](crate::operation::describe_network_interfaces::builders::DescribeNetworkInterfacesFluentBuilder::set_filters): required: **false**
One or more filters.
association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.
association.association-id - The association ID returned when the network interface was associated with an IPv4 address.
addresses.association.owner-id - The owner ID of the addresses associated with the network interface.
addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4).
addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface.
addresses.private-ip-address - The private IPv4 addresses associated with the network interface.
association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.
association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.
association.public-dns-name - The public DNS name for the network interface (IPv4).
attachment.attach-time - The time that the network interface was attached to an instance.
attachment.attachment-id - The ID of the interface attachment.
attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.
attachment.device-index - The device index to which the network interface is attached.
attachment.instance-id - The ID of the instance to which the network interface is attached.
attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.
attachment.status - The status of the attachment (attaching | attached | detaching | detached).
availability-zone - The Availability Zone of the network interface.
description - The description of the network interface.
group-id - The ID of a security group associated with the network interface.
ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface.
mac-address - The MAC address of the network interface.
network-interface-id - The ID of the network interface.
owner-id - The Amazon Web Services account ID of the network interface owner.
private-dns-name - The private DNS name of the network interface (IPv4).
private-ip-address - The private IPv4 address or addresses of the network interface.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use.
subnet-id - The ID of the subnet for the network interface.
tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
vpc-id - The ID of the VPC for the network interface.
mac-address - The MAC address of the network interface.
network-interface-id - The ID of the network interface.
owner-id - The Amazon Web Services account ID of the network interface owner.
private-dns-name - The private DNS name of the network interface (IPv4).
private-ip-address - The private IPv4 address or addresses of the network interface.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use.
subnet-id - The ID of the subnet for the network interface.
tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
vpc-id - The ID of the VPC for the network interface.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
diff --git a/sdk/ec2/src/client/describe_route_tables.rs b/sdk/ec2/src/client/describe_route_tables.rs
index 0074323d261b..7667dbdba0c0 100644
--- a/sdk/ec2/src/client/describe_route_tables.rs
+++ b/sdk/ec2/src/client/describe_route_tables.rs
@@ -4,7 +4,7 @@ impl super::Client {
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_route_tables::builders::DescribeRouteTablesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
- /// - [`filters(Filter)`](crate::operation::describe_route_tables::builders::DescribeRouteTablesFluentBuilder::filters) / [`set_filters(Option>)`](crate::operation::describe_route_tables::builders::DescribeRouteTablesFluentBuilder::set_filters): required: **false**
The filters.
association.gateway-id - The ID of the gateway involved in the association.
association.route-table-association-id - The ID of an association ID for the route table.
association.route-table-id - The ID of the route table involved in the association.
association.subnet-id - The ID of the subnet involved in the association.
association.main - Indicates whether the route table is the main route table for the VPC (true | false). Route tables that do not have an association ID are not returned in the response.
owner-id - The ID of the Amazon Web Services account that owns the route table.
route-table-id - The ID of the route table.
route.destination-cidr-block - The IPv4 CIDR range specified in a route in the table.
route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.
route.destination-prefix-list-id - The ID (prefix) of the Amazon Web Service specified in a route in the table.
route.egress-only-internet-gateway-id - The ID of an egress-only Internet gateway specified in a route in the route table.
route.gateway-id - The ID of a gateway specified in a route in the table.
route.instance-id - The ID of an instance specified in a route in the table.
route.nat-gateway-id - The ID of a NAT gateway.
route.transit-gateway-id - The ID of a transit gateway.
route.origin - Describes how the route was created. CreateRouteTable indicates that the route was automatically created when the route table was created; CreateRoute indicates that the route was manually added to the route table; EnableVgwRoutePropagation indicates that the route was propagated by route propagation.
route.state - The state of a route in the route table (active | blackhole). The blackhole state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, the specified NAT instance has been terminated, and so on).
route.vpc-peering-connection-id - The ID of a VPC peering connection specified in a route in the table.
tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
association.gateway-id - The ID of the gateway involved in the association.
association.route-table-association-id - The ID of an association ID for the route table.
association.route-table-id - The ID of the route table involved in the association.
association.subnet-id - The ID of the subnet involved in the association.
association.main - Indicates whether the route table is the main route table for the VPC (true | false). Route tables that do not have an association ID are not returned in the response.
owner-id - The ID of the Amazon Web Services account that owns the route table.
route-table-id - The ID of the route table.
route.destination-cidr-block - The IPv4 CIDR range specified in a route in the table.
route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.
route.destination-prefix-list-id - The ID (prefix) of the Amazon Web Services service specified in a route in the table.
route.egress-only-internet-gateway-id - The ID of an egress-only Internet gateway specified in a route in the route table.
route.gateway-id - The ID of a gateway specified in a route in the table.
route.instance-id - The ID of an instance specified in a route in the table.
route.nat-gateway-id - The ID of a NAT gateway.
route.transit-gateway-id - The ID of a transit gateway.
route.origin - Describes how the route was created. CreateRouteTable indicates that the route was automatically created when the route table was created; CreateRoute indicates that the route was manually added to the route table; EnableVgwRoutePropagation indicates that the route was propagated by route propagation.
route.state - The state of a route in the route table (active | blackhole). The blackhole state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, the specified NAT instance has been terminated, and so on).
route.vpc-peering-connection-id - The ID of a VPC peering connection specified in a route in the table.
tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
/// - On success, responds with [`ModifyCapacityReservationOutput`](crate::operation::modify_capacity_reservation::ModifyCapacityReservationOutput) with field(s):
/// - [`r#return(Option)`](crate::operation::modify_capacity_reservation::ModifyCapacityReservationOutput::return):
Returns true if the request succeeds; otherwise, it returns an error.
/// - On failure, responds with [`SdkError`](crate::operation::modify_capacity_reservation::ModifyCapacityReservationError)
diff --git a/sdk/ec2/src/client/move_capacity_reservation_instances.rs b/sdk/ec2/src/client/move_capacity_reservation_instances.rs
new file mode 100644
index 000000000000..1ad270143d26
--- /dev/null
+++ b/sdk/ec2/src/client/move_capacity_reservation_instances.rs
@@ -0,0 +1,21 @@
+// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
+impl super::Client {
+ /// Constructs a fluent builder for the [`MoveCapacityReservationInstances`](crate::operation::move_capacity_reservation_instances::builders::MoveCapacityReservationInstancesFluentBuilder) operation.
+ ///
+ /// - The fluent builder is configurable:
+ /// - [`dry_run(bool)`](crate::operation::move_capacity_reservation_instances::builders::MoveCapacityReservationInstancesFluentBuilder::dry_run) / [`set_dry_run(Option)`](crate::operation::move_capacity_reservation_instances::builders::MoveCapacityReservationInstancesFluentBuilder::set_dry_run): required: **false**
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
The number of instances that you want to move from the source Capacity Reservation.
+ /// - On success, responds with [`MoveCapacityReservationInstancesOutput`](crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput) with field(s):
+ /// - [`source_capacity_reservation(Option)`](crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput::source_capacity_reservation):
Information about the source Capacity Reservation.
The number of instances that were moved from the source Capacity Reservation to the destination Capacity Reservation.
+ /// - On failure, responds with [`SdkError`](crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError)
+ pub fn move_capacity_reservation_instances(
+ &self,
+ ) -> crate::operation::move_capacity_reservation_instances::builders::MoveCapacityReservationInstancesFluentBuilder {
+ crate::operation::move_capacity_reservation_instances::builders::MoveCapacityReservationInstancesFluentBuilder::new(self.handle.clone())
+ }
+}
diff --git a/sdk/ec2/src/error_meta.rs b/sdk/ec2/src/error_meta.rs
index 14d1413f9df1..ef79856305e6 100644
--- a/sdk/ec2/src/error_meta.rs
+++ b/sdk/ec2/src/error_meta.rs
@@ -1488,6 +1488,40 @@ impl From
+ From<
+ ::aws_smithy_runtime_api::client::result::SdkError<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ R,
+ >,
+ > for Error
+where
+ R: Send + Sync + std::fmt::Debug + 'static,
+{
+ fn from(
+ err: ::aws_smithy_runtime_api::client::result::SdkError<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ R,
+ >,
+ ) -> Self {
+ match err {
+ ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
+ _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
+ meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
+ source: err.into(),
+ }),
+ }
+ }
+}
+impl From for Error {
+ fn from(err: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError) -> Self {
+ match err {
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError::Unhandled(inner) => {
+ Error::Unhandled(inner)
+ }
+ }
+ }
+}
impl
From<
::aws_smithy_runtime_api::client::result::SdkError<
@@ -14859,6 +14893,38 @@ impl From f
}
}
}
+impl
+ From<
+ ::aws_smithy_runtime_api::client::result::SdkError<
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
+ R,
+ >,
+ > for Error
+where
+ R: Send + Sync + std::fmt::Debug + 'static,
+{
+ fn from(
+ err: ::aws_smithy_runtime_api::client::result::SdkError<
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
+ R,
+ >,
+ ) -> Self {
+ match err {
+ ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
+ _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
+ meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
+ source: err.into(),
+ }),
+ }
+ }
+}
+impl From for Error {
+ fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
+ match err {
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
+ }
+ }
+}
impl From<::aws_smithy_runtime_api::client::result::SdkError> for Error
where
R: Send + Sync + std::fmt::Debug + 'static,
diff --git a/sdk/ec2/src/lib.rs b/sdk/ec2/src/lib.rs
index dc56437adbb2..c9c20065f9df 100644
--- a/sdk/ec2/src/lib.rs
+++ b/sdk/ec2/src/lib.rs
@@ -31,7 +31,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-//! aws-sdk-ec2 = "1.64.0"
+//! aws-sdk-ec2 = "1.65.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
diff --git a/sdk/ec2/src/operation.rs b/sdk/ec2/src/operation.rs
index ec1bf17660b3..389783ebfef9 100644
--- a/sdk/ec2/src/operation.rs
+++ b/sdk/ec2/src/operation.rs
@@ -169,6 +169,9 @@ pub mod copy_snapshot;
/// Types for the `CreateCapacityReservation` operation.
pub mod create_capacity_reservation;
+/// Types for the `CreateCapacityReservationBySplitting` operation.
+pub mod create_capacity_reservation_by_splitting;
+
/// Types for the `CreateCapacityReservationFleet` operation.
pub mod create_capacity_reservation_fleet;
@@ -1675,6 +1678,9 @@ pub mod move_address_to_vpc;
/// Types for the `MoveByoipCidrToIpam` operation.
pub mod move_byoip_cidr_to_ipam;
+/// Types for the `MoveCapacityReservationInstances` operation.
+pub mod move_capacity_reservation_instances;
+
/// Types for the `ProvisionByoipCidr` operation.
pub mod provision_byoip_cidr;
diff --git a/sdk/ec2/src/operation/create_capacity_reservation_by_splitting.rs b/sdk/ec2/src/operation/create_capacity_reservation_by_splitting.rs
new file mode 100644
index 000000000000..569548f5e858
--- /dev/null
+++ b/sdk/ec2/src/operation/create_capacity_reservation_by_splitting.rs
@@ -0,0 +1,364 @@
+// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
+/// Orchestration and serialization glue logic for `CreateCapacityReservationBySplitting`.
+#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
+#[non_exhaustive]
+pub struct CreateCapacityReservationBySplitting;
+impl CreateCapacityReservationBySplitting {
+ /// Creates a new `CreateCapacityReservationBySplitting`
+ pub fn new() -> Self {
+ Self
+ }
+ pub(crate) async fn orchestrate(
+ runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
+ input: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingInput,
+ ) -> ::std::result::Result<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput,
+ ::aws_smithy_runtime_api::client::result::SdkError<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
+ >,
+ > {
+ let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError<
+ ::aws_smithy_runtime_api::client::interceptors::context::Error,
+ ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
+ >| {
+ err.map_service_error(|err| {
+ err.downcast::()
+ .expect("correct error type")
+ })
+ };
+ let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None)
+ .await
+ .map_err(map_err)?;
+ let output = context.finalize().map_err(map_err)?;
+ ::std::result::Result::Ok(
+ output
+ .downcast::()
+ .expect("correct output type"),
+ )
+ }
+
+ pub(crate) async fn orchestrate_with_stop_point(
+ runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
+ input: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingInput,
+ stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint,
+ ) -> ::std::result::Result<
+ ::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext,
+ ::aws_smithy_runtime_api::client::result::SdkError<
+ ::aws_smithy_runtime_api::client::interceptors::context::Error,
+ ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
+ >,
+ > {
+ let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input);
+ ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point(
+ "ec2",
+ "CreateCapacityReservationBySplitting",
+ input,
+ runtime_plugins,
+ stop_point,
+ )
+ .await
+ }
+
+ pub(crate) fn operation_runtime_plugins(
+ client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
+ client_config: &crate::config::Config,
+ config_override: ::std::option::Option,
+ ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins {
+ let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new());
+ runtime_plugins = runtime_plugins
+ .with_operation_plugin(crate::client_idempotency_token::IdempotencyTokenRuntimePlugin::new(
+ |token_provider, input| {
+ let input: &mut crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingInput =
+ input.downcast_mut().expect("correct type");
+ if input.client_token.is_none() {
+ input.client_token = ::std::option::Option::Some(token_provider.make_idempotency_token());
+ }
+ },
+ ))
+ .with_client_plugin(crate::auth_plugin::DefaultAuthOptionsPlugin::new(vec![
+ ::aws_runtime::auth::sigv4::SCHEME_ID,
+ ]));
+ if let ::std::option::Option::Some(config_override) = config_override {
+ for plugin in config_override.runtime_plugins.iter().cloned() {
+ runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
+ }
+ runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
+ config_override,
+ client_config.config.clone(),
+ &client_config.runtime_components,
+ ));
+ }
+ runtime_plugins
+ }
+}
+impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for CreateCapacityReservationBySplitting {
+ fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
+ let mut cfg = ::aws_smithy_types::config_bag::Layer::new("CreateCapacityReservationBySplitting");
+
+ cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
+ CreateCapacityReservationBySplittingRequestSerializer,
+ ));
+ cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
+ CreateCapacityReservationBySplittingResponseDeserializer,
+ ));
+
+ cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
+ ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
+ ));
+
+ cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
+ "CreateCapacityReservationBySplitting",
+ "ec2",
+ ));
+ let mut signing_options = ::aws_runtime::auth::SigningOptions::default();
+ signing_options.double_uri_encode = true;
+ signing_options.content_sha256_header = false;
+ signing_options.normalize_uri_path = true;
+ signing_options.payload_override = None;
+
+ cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig {
+ signing_options,
+ ..::std::default::Default::default()
+ });
+
+ ::std::option::Option::Some(cfg.freeze())
+ }
+
+ fn runtime_components(
+ &self,
+ _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
+ ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
+ #[allow(unused_mut)]
+ let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("CreateCapacityReservationBySplitting")
+ .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
+ .with_interceptor(CreateCapacityReservationBySplittingEndpointParamsInterceptor)
+ .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ >::new())
+ .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ >::new())
+ .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ >::new());
+
+ ::std::borrow::Cow::Owned(rcb)
+ }
+}
+
+#[derive(Debug)]
+struct CreateCapacityReservationBySplittingResponseDeserializer;
+impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for CreateCapacityReservationBySplittingResponseDeserializer {
+ fn deserialize_nonstreaming(
+ &self,
+ response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
+ ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
+ let (success, status) = (response.status().is_success(), response.status().as_u16());
+ let headers = response.headers();
+ let body = response.body().bytes().expect("body loaded");
+ #[allow(unused_mut)]
+ let mut force_error = false;
+ ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
+ let parse_result = if !success && status != 200 || force_error {
+ crate::protocol_serde::shape_create_capacity_reservation_by_splitting::de_create_capacity_reservation_by_splitting_http_error(
+ status, headers, body,
+ )
+ } else {
+ crate::protocol_serde::shape_create_capacity_reservation_by_splitting::de_create_capacity_reservation_by_splitting_http_response(
+ status, headers, body,
+ )
+ };
+ crate::protocol_serde::type_erase_result(parse_result)
+ }
+}
+#[derive(Debug)]
+struct CreateCapacityReservationBySplittingRequestSerializer;
+impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for CreateCapacityReservationBySplittingRequestSerializer {
+ #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
+ fn serialize_input(
+ &self,
+ input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
+ _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
+ ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
+ let input = input
+ .downcast::()
+ .expect("correct type");
+ let _header_serialization_settings = _cfg
+ .load::()
+ .cloned()
+ .unwrap_or_default();
+ let mut request_builder = {
+ fn uri_base(
+ _input: &crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingInput,
+ output: &mut ::std::string::String,
+ ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
+ use ::std::fmt::Write as _;
+ ::std::write!(output, "/").expect("formatting should succeed");
+ ::std::result::Result::Ok(())
+ }
+ #[allow(clippy::unnecessary_wraps)]
+ fn update_http_builder(
+ input: &crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingInput,
+ builder: ::http::request::Builder,
+ ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
+ let mut uri = ::std::string::String::new();
+ uri_base(input, &mut uri)?;
+ ::std::result::Result::Ok(builder.method("POST").uri(uri))
+ }
+ let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
+ builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
+ builder
+ };
+ let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_create_capacity_reservation_by_splitting_input::ser_create_capacity_reservation_by_splitting_input_input_input(&input)?);
+ if let Some(content_length) = body.content_length() {
+ let content_length = content_length.to_string();
+ request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
+ }
+ ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
+ }
+}
+#[derive(Debug)]
+struct CreateCapacityReservationBySplittingEndpointParamsInterceptor;
+
+impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateCapacityReservationBySplittingEndpointParamsInterceptor {
+ fn name(&self) -> &'static str {
+ "CreateCapacityReservationBySplittingEndpointParamsInterceptor"
+ }
+
+ fn read_before_execution(
+ &self,
+ context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
+ '_,
+ ::aws_smithy_runtime_api::client::interceptors::context::Input,
+ ::aws_smithy_runtime_api::client::interceptors::context::Output,
+ ::aws_smithy_runtime_api::client::interceptors::context::Error,
+ >,
+ cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
+ ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
+ let _input = context
+ .input()
+ .downcast_ref::()
+ .ok_or("failed to downcast to CreateCapacityReservationBySplittingInput")?;
+
+ let params = crate::config::endpoint::Params::builder()
+ .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
+ .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
+ .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
+ .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
+ .build()
+ .map_err(|err| {
+ ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
+ })?;
+ cfg.interceptor_state()
+ .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
+ ::std::result::Result::Ok(())
+ }
+}
+
+// The get_* functions below are generated from JMESPath expressions in the
+// operationContextParams trait. They target the operation's input shape.
+
+/// Error type for the `CreateCapacityReservationBySplittingError` operation.
+#[non_exhaustive]
+#[derive(::std::fmt::Debug)]
+pub enum CreateCapacityReservationBySplittingError {
+ /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
+ #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
+ variable wildcard pattern and check `.code()`:
+ \
+ `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
+ \
+ See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-CreateCapacityReservationBySplittingError) for what information is available for the error.")]
+ Unhandled(crate::error::sealed_unhandled::Unhandled),
+}
+impl CreateCapacityReservationBySplittingError {
+ /// Creates the `CreateCapacityReservationBySplittingError::Unhandled` variant from any error type.
+ pub fn unhandled(
+ err: impl ::std::convert::Into<::std::boxed::Box>,
+ ) -> Self {
+ Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
+ source: err.into(),
+ meta: ::std::default::Default::default(),
+ })
+ }
+
+ /// Creates the `CreateCapacityReservationBySplittingError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
+ pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
+ Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
+ source: err.clone().into(),
+ meta: err,
+ })
+ }
+ ///
+ /// Returns error metadata, which includes the error code, message,
+ /// request ID, and potentially additional information.
+ ///
+ pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
+ match self {
+ Self::Unhandled(e) => &e.meta,
+ }
+ }
+}
+impl ::std::error::Error for CreateCapacityReservationBySplittingError {
+ fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
+ match self {
+ Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
+ }
+ }
+}
+impl ::std::fmt::Display for CreateCapacityReservationBySplittingError {
+ fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
+ match self {
+ Self::Unhandled(_inner) => {
+ if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
+ write!(f, "unhandled error ({code})")
+ } else {
+ f.write_str("unhandled error")
+ }
+ }
+ }
+ }
+}
+impl ::aws_smithy_types::retry::ProvideErrorKind for CreateCapacityReservationBySplittingError {
+ fn code(&self) -> ::std::option::Option<&str> {
+ ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
+ }
+ fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
+ ::std::option::Option::None
+ }
+}
+impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for CreateCapacityReservationBySplittingError {
+ fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
+ match self {
+ Self::Unhandled(_inner) => &_inner.meta,
+ }
+ }
+}
+impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for CreateCapacityReservationBySplittingError {
+ fn create_unhandled_error(
+ source: ::std::boxed::Box,
+ meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
+ ) -> Self {
+ Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
+ source,
+ meta: meta.unwrap_or_default(),
+ })
+ }
+}
+impl ::aws_types::request_id::RequestId for crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError {
+ fn request_id(&self) -> Option<&str> {
+ self.meta().request_id()
+ }
+}
+
+pub use crate::operation::create_capacity_reservation_by_splitting::_create_capacity_reservation_by_splitting_output::CreateCapacityReservationBySplittingOutput;
+
+pub use crate::operation::create_capacity_reservation_by_splitting::_create_capacity_reservation_by_splitting_input::CreateCapacityReservationBySplittingInput;
+
+mod _create_capacity_reservation_by_splitting_input;
+
+mod _create_capacity_reservation_by_splitting_output;
+
+/// Builders
+pub mod builders;
diff --git a/sdk/ec2/src/operation/create_capacity_reservation_by_splitting/_create_capacity_reservation_by_splitting_input.rs b/sdk/ec2/src/operation/create_capacity_reservation_by_splitting/_create_capacity_reservation_by_splitting_input.rs
new file mode 100644
index 000000000000..512366891e52
--- /dev/null
+++ b/sdk/ec2/src/operation/create_capacity_reservation_by_splitting/_create_capacity_reservation_by_splitting_input.rs
@@ -0,0 +1,154 @@
+// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
+#[allow(missing_docs)] // documentation missing in model
+#[non_exhaustive]
+#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
+pub struct CreateCapacityReservationBySplittingInput {
+ ///
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
+ pub dry_run: ::std::option::Option,
+ ///
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
The tags to apply to the new Capacity Reservation.
+ ///
+ /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.tag_specifications.is_none()`.
+ pub fn tag_specifications(&self) -> &[crate::types::TagSpecification] {
+ self.tag_specifications.as_deref().unwrap_or_default()
+ }
+}
+impl CreateCapacityReservationBySplittingInput {
+ /// Creates a new builder-style object to manufacture [`CreateCapacityReservationBySplittingInput`](crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingInput).
+ pub fn builder() -> crate::operation::create_capacity_reservation_by_splitting::builders::CreateCapacityReservationBySplittingInputBuilder {
+ crate::operation::create_capacity_reservation_by_splitting::builders::CreateCapacityReservationBySplittingInputBuilder::default()
+ }
+}
+
+/// A builder for [`CreateCapacityReservationBySplittingInput`](crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingInput).
+#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
+#[non_exhaustive]
+pub struct CreateCapacityReservationBySplittingInputBuilder {
+ pub(crate) dry_run: ::std::option::Option,
+ pub(crate) client_token: ::std::option::Option<::std::string::String>,
+ pub(crate) source_capacity_reservation_id: ::std::option::Option<::std::string::String>,
+ pub(crate) instance_count: ::std::option::Option,
+ pub(crate) tag_specifications: ::std::option::Option<::std::vec::Vec>,
+}
+impl CreateCapacityReservationBySplittingInputBuilder {
+ ///
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
The number of instances to split from the source Capacity Reservation.
+ pub fn get_instance_count(&self) -> &::std::option::Option {
+ &self.instance_count
+ }
+ /// Appends an item to `tag_specifications`.
+ ///
+ /// To override the contents of this collection use [`set_tag_specifications`](Self::set_tag_specifications).
+ ///
+ ///
The tags to apply to the new Capacity Reservation.
The number of instances in the new Capacity Reservation. The number of instances in the source Capacity Reservation was reduced by this amount.
+ pub fn get_instance_count(&self) -> &::std::option::Option {
+ &self.instance_count
+ }
+ pub(crate) fn _request_id(mut self, request_id: impl Into) -> Self {
+ self._request_id = Some(request_id.into());
+ self
+ }
+
+ pub(crate) fn _set_request_id(&mut self, request_id: Option) -> &mut Self {
+ self._request_id = request_id;
+ self
+ }
+ /// Consumes the builder and constructs a [`CreateCapacityReservationBySplittingOutput`](crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput).
+ pub fn build(self) -> crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput {
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput {
+ source_capacity_reservation: self.source_capacity_reservation,
+ destination_capacity_reservation: self.destination_capacity_reservation,
+ instance_count: self.instance_count,
+ _request_id: self._request_id,
+ }
+ }
+}
diff --git a/sdk/ec2/src/operation/create_capacity_reservation_by_splitting/builders.rs b/sdk/ec2/src/operation/create_capacity_reservation_by_splitting/builders.rs
new file mode 100644
index 000000000000..02b78803c254
--- /dev/null
+++ b/sdk/ec2/src/operation/create_capacity_reservation_by_splitting/builders.rs
@@ -0,0 +1,189 @@
+// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
+pub use crate::operation::create_capacity_reservation_by_splitting::_create_capacity_reservation_by_splitting_output::CreateCapacityReservationBySplittingOutputBuilder;
+
+pub use crate::operation::create_capacity_reservation_by_splitting::_create_capacity_reservation_by_splitting_input::CreateCapacityReservationBySplittingInputBuilder;
+
+impl crate::operation::create_capacity_reservation_by_splitting::builders::CreateCapacityReservationBySplittingInputBuilder {
+ /// Sends a request with this input using the given client.
+ pub async fn send_with(
+ self,
+ client: &crate::Client,
+ ) -> ::std::result::Result<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput,
+ ::aws_smithy_runtime_api::client::result::SdkError<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
+ >,
+ > {
+ let mut fluent_builder = client.create_capacity_reservation_by_splitting();
+ fluent_builder.inner = self;
+ fluent_builder.send().await
+ }
+}
+/// Fluent builder constructing a request to `CreateCapacityReservationBySplitting`.
+///
+///
Create a new Capacity Reservation by splitting the available capacity of the source Capacity Reservation. The new Capacity Reservation will have the same attributes as the source Capacity Reservation except for tags. The source Capacity Reservation must be active and owned by your Amazon Web Services account.
+#[derive(::std::clone::Clone, ::std::fmt::Debug)]
+pub struct CreateCapacityReservationBySplittingFluentBuilder {
+ handle: ::std::sync::Arc,
+ inner: crate::operation::create_capacity_reservation_by_splitting::builders::CreateCapacityReservationBySplittingInputBuilder,
+ config_override: ::std::option::Option,
+}
+impl
+ crate::client::customize::internal::CustomizableSend<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput,
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ > for CreateCapacityReservationBySplittingFluentBuilder
+{
+ fn send(
+ self,
+ config_override: crate::config::Builder,
+ ) -> crate::client::customize::internal::BoxFuture<
+ crate::client::customize::internal::SendResult<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput,
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ >,
+ > {
+ ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
+ }
+}
+impl CreateCapacityReservationBySplittingFluentBuilder {
+ /// Creates a new `CreateCapacityReservationBySplittingFluentBuilder`.
+ pub(crate) fn new(handle: ::std::sync::Arc) -> Self {
+ Self {
+ handle,
+ inner: ::std::default::Default::default(),
+ config_override: ::std::option::Option::None,
+ }
+ }
+ /// Access the CreateCapacityReservationBySplitting as a reference.
+ pub fn as_input(
+ &self,
+ ) -> &crate::operation::create_capacity_reservation_by_splitting::builders::CreateCapacityReservationBySplittingInputBuilder {
+ &self.inner
+ }
+ /// Sends the request and returns the response.
+ ///
+ /// If an error occurs, an `SdkError` will be returned with additional details that
+ /// can be matched against.
+ ///
+ /// By default, any retryable failures will be retried twice. Retry behavior
+ /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
+ /// set when configuring the client.
+ pub async fn send(
+ self,
+ ) -> ::std::result::Result<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput,
+ ::aws_smithy_runtime_api::client::result::SdkError<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
+ >,
+ > {
+ let input = self
+ .inner
+ .build()
+ .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
+ let runtime_plugins =
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplitting::operation_runtime_plugins(
+ self.handle.runtime_plugins.clone(),
+ &self.handle.conf,
+ self.config_override,
+ );
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplitting::orchestrate(&runtime_plugins, input).await
+ }
+
+ /// Consumes this builder, creating a customizable operation that can be modified before being sent.
+ pub fn customize(
+ self,
+ ) -> crate::client::customize::CustomizableOperation<
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingOutput,
+ crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
+ Self,
+ > {
+ crate::client::customize::CustomizableOperation::new(self)
+ }
+ pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into) -> Self {
+ self.set_config_override(::std::option::Option::Some(config_override.into()));
+ self
+ }
+
+ pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option) -> &mut Self {
+ self.config_override = config_override;
+ self
+ }
+ ///
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Describes an Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon VPC User Guide.
-///
When you transfer an Elastic IP address, there is a two-step handshake between the source and transfer Amazon Web Services accounts. When the source account starts the transfer, the transfer account has seven days to accept the Elastic IP address transfer. During those seven days, the source account can view the pending transfer by using this action. After seven days, the transfer expires and ownership of the Elastic IP address returns to the source account. Accepted transfers are visible to the source account for three days after the transfers have been accepted.
+///
When you transfer an Elastic IP address, there is a two-step handshake between the source and transfer Amazon Web Services accounts. When the source account starts the transfer, the transfer account has seven days to accept the Elastic IP address transfer. During those seven days, the source account can view the pending transfer by using this action. After seven days, the transfer expires and ownership of the Elastic IP address returns to the source account. Accepted transfers are visible to the source account for 14 days after the transfers have been accepted.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
+ ///
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
+ ///
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
+ ///
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
+ ///
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
+ ///
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You cannot change a Capacity Reservation's instance type, EBS optimization, instance store settings, platform, Availability Zone, or instance eligibility. If you need to modify any of these attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with the required attributes.
+///
Modifies a Capacity Reservation's capacity, instance eligibility, and the conditions under which it is to be released. You can't modify a Capacity Reservation's instance type, EBS optimization, platform, instance store settings, Availability Zone, or tenancy. If you need to modify any of these attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with the required attributes. For more information, see Modify an active Capacity Reservation.
The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
+ ///
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
+ ///
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.
+ ///
To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
+ pub dry_run: ::std::option::Option,
+ ///
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
The number of instances that were moved from the source Capacity Reservation to the destination Capacity Reservation.
+ pub fn get_instance_count(&self) -> &::std::option::Option {
+ &self.instance_count
+ }
+ pub(crate) fn _request_id(mut self, request_id: impl Into) -> Self {
+ self._request_id = Some(request_id.into());
+ self
+ }
+
+ pub(crate) fn _set_request_id(&mut self, request_id: Option) -> &mut Self {
+ self._request_id = request_id;
+ self
+ }
+ /// Consumes the builder and constructs a [`MoveCapacityReservationInstancesOutput`](crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput).
+ pub fn build(self) -> crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput {
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput {
+ source_capacity_reservation: self.source_capacity_reservation,
+ destination_capacity_reservation: self.destination_capacity_reservation,
+ instance_count: self.instance_count,
+ _request_id: self._request_id,
+ }
+ }
+}
diff --git a/sdk/ec2/src/operation/move_capacity_reservation_instances/builders.rs b/sdk/ec2/src/operation/move_capacity_reservation_instances/builders.rs
new file mode 100644
index 000000000000..b666a9388655
--- /dev/null
+++ b/sdk/ec2/src/operation/move_capacity_reservation_instances/builders.rs
@@ -0,0 +1,195 @@
+// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
+pub use crate::operation::move_capacity_reservation_instances::_move_capacity_reservation_instances_output::MoveCapacityReservationInstancesOutputBuilder;
+
+pub use crate::operation::move_capacity_reservation_instances::_move_capacity_reservation_instances_input::MoveCapacityReservationInstancesInputBuilder;
+
+impl crate::operation::move_capacity_reservation_instances::builders::MoveCapacityReservationInstancesInputBuilder {
+ /// Sends a request with this input using the given client.
+ pub async fn send_with(
+ self,
+ client: &crate::Client,
+ ) -> ::std::result::Result<
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput,
+ ::aws_smithy_runtime_api::client::result::SdkError<
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
+ ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
+ >,
+ > {
+ let mut fluent_builder = client.move_capacity_reservation_instances();
+ fluent_builder.inner = self;
+ fluent_builder.send().await
+ }
+}
+/// Fluent builder constructing a request to `MoveCapacityReservationInstances`.
+///
+///
Move available capacity from a source Capacity Reservation to a destination Capacity Reservation. The source Capacity Reservation and the destination Capacity Reservation must be active, owned by your Amazon Web Services account, and share the following:
+///
+///
+///
Instance type
+///
+///
Platform
+///
+///
Availability Zone
+///
+///
Tenancy
+///
+///
Placement group
+///
+///
Capacity Reservation end time - At specific time or Manually.
+///
+#[derive(::std::clone::Clone, ::std::fmt::Debug)]
+pub struct MoveCapacityReservationInstancesFluentBuilder {
+ handle: ::std::sync::Arc,
+ inner: crate::operation::move_capacity_reservation_instances::builders::MoveCapacityReservationInstancesInputBuilder,
+ config_override: ::std::option::Option,
+}
+impl
+ crate::client::customize::internal::CustomizableSend<
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput,
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
+ > for MoveCapacityReservationInstancesFluentBuilder
+{
+ fn send(
+ self,
+ config_override: crate::config::Builder,
+ ) -> crate::client::customize::internal::BoxFuture<
+ crate::client::customize::internal::SendResult<
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput,
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
+ >,
+ > {
+ ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
+ }
+}
+impl MoveCapacityReservationInstancesFluentBuilder {
+ /// Creates a new `MoveCapacityReservationInstancesFluentBuilder`.
+ pub(crate) fn new(handle: ::std::sync::Arc) -> Self {
+ Self {
+ handle,
+ inner: ::std::default::Default::default(),
+ config_override: ::std::option::Option::None,
+ }
+ }
+ /// Access the MoveCapacityReservationInstances as a reference.
+ pub fn as_input(&self) -> &crate::operation::move_capacity_reservation_instances::builders::MoveCapacityReservationInstancesInputBuilder {
+ &self.inner
+ }
+ /// Sends the request and returns the response.
+ ///
+ /// If an error occurs, an `SdkError` will be returned with additional details that
+ /// can be matched against.
+ ///
+ /// By default, any retryable failures will be retried twice. Retry behavior
+ /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
+ /// set when configuring the client.
+ pub async fn send(
+ self,
+ ) -> ::std::result::Result<
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput,
+ ::aws_smithy_runtime_api::client::result::SdkError<
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
+ ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
+ >,
+ > {
+ let input = self
+ .inner
+ .build()
+ .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
+ let runtime_plugins = crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstances::operation_runtime_plugins(
+ self.handle.runtime_plugins.clone(),
+ &self.handle.conf,
+ self.config_override,
+ );
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstances::orchestrate(&runtime_plugins, input).await
+ }
+
+ /// Consumes this builder, creating a customizable operation that can be modified before being sent.
+ pub fn customize(
+ self,
+ ) -> crate::client::customize::CustomizableOperation<
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesOutput,
+ crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
+ Self,
+ > {
+ crate::client::customize::CustomizableOperation::new(self)
+ }
+ pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into) -> Self {
+ self.set_config_override(::std::option::Option::Some(config_override.into()));
+ self
+ }
+
+ pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option) -> &mut Self {
+ self.config_override = config_override;
+ self
+ }
+ ///
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
The IP address range of the Amazon Web Services service.
///
/// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.cidrs.is_none()`.
pub fn cidrs(&self) -> &[::std::string::String] {
@@ -47,19 +47,19 @@ impl PrefixListBuilder {
///
/// To override the contents of this collection use [`set_cidrs`](Self::set_cidrs).
///
- ///
The IP address range of the Amazon Web Service.
+ ///
The IP address range of the Amazon Web Services service.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
///
- ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
+ ///
requester-managed - Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
///
///
source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.
///
diff --git a/sdk/eks/Cargo.toml b/sdk/eks/Cargo.toml
index 25e3b7137421..c053d596f31a 100644
--- a/sdk/eks/Cargo.toml
+++ b/sdk/eks/Cargo.toml
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-eks"
-version = "1.43.0"
+version = "1.44.0"
authors = ["AWS Rust SDK Team ", "Russell Cohen "]
description = "AWS SDK for Amazon Elastic Kubernetes Service"
edition = "2021"
diff --git a/sdk/eks/README.md b/sdk/eks/README.md
index 67260afd1779..bc0bb843af39 100644
--- a/sdk/eks/README.md
+++ b/sdk/eks/README.md
@@ -16,7 +16,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-aws-sdk-eks = "1.43.0"
+aws-sdk-eks = "1.44.0"
tokio = { version = "1", features = ["full"] }
```
diff --git a/sdk/eks/src/lib.rs b/sdk/eks/src/lib.rs
index af7960edcd41..213abc3d0704 100644
--- a/sdk/eks/src/lib.rs
+++ b/sdk/eks/src/lib.rs
@@ -33,7 +33,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-//! aws-sdk-eks = "1.43.0"
+//! aws-sdk-eks = "1.44.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
diff --git a/sdk/eks/src/types/_ami_types.rs b/sdk/eks/src/types/_ami_types.rs
index da50be886e74..f0ed580152bb 100644
--- a/sdk/eks/src/types/_ami_types.rs
+++ b/sdk/eks/src/types/_ami_types.rs
@@ -13,6 +13,8 @@
/// # let amitypes = unimplemented!();
/// match amitypes {
/// AmiTypes::Al2023Arm64Standard => { /* ... */ },
+/// AmiTypes::Al2023X8664Neuron => { /* ... */ },
+/// AmiTypes::Al2023X8664Nvidia => { /* ... */ },
/// AmiTypes::Al2023X8664Standard => { /* ... */ },
/// AmiTypes::Al2Arm64 => { /* ... */ },
/// AmiTypes::Al2X8664 => { /* ... */ },
@@ -56,6 +58,10 @@ pub enum AmiTypes {
#[allow(missing_docs)] // documentation missing in model
Al2023Arm64Standard,
#[allow(missing_docs)] // documentation missing in model
+ Al2023X8664Neuron,
+ #[allow(missing_docs)] // documentation missing in model
+ Al2023X8664Nvidia,
+ #[allow(missing_docs)] // documentation missing in model
Al2023X8664Standard,
#[allow(missing_docs)] // documentation missing in model
Al2Arm64,
@@ -89,6 +95,8 @@ impl ::std::convert::From<&str> for AmiTypes {
fn from(s: &str) -> Self {
match s {
"AL2023_ARM_64_STANDARD" => AmiTypes::Al2023Arm64Standard,
+ "AL2023_x86_64_NEURON" => AmiTypes::Al2023X8664Neuron,
+ "AL2023_x86_64_NVIDIA" => AmiTypes::Al2023X8664Nvidia,
"AL2023_x86_64_STANDARD" => AmiTypes::Al2023X8664Standard,
"AL2_ARM_64" => AmiTypes::Al2Arm64,
"AL2_x86_64" => AmiTypes::Al2X8664,
@@ -118,6 +126,8 @@ impl AmiTypes {
pub fn as_str(&self) -> &str {
match self {
AmiTypes::Al2023Arm64Standard => "AL2023_ARM_64_STANDARD",
+ AmiTypes::Al2023X8664Neuron => "AL2023_x86_64_NEURON",
+ AmiTypes::Al2023X8664Nvidia => "AL2023_x86_64_NVIDIA",
AmiTypes::Al2023X8664Standard => "AL2023_x86_64_STANDARD",
AmiTypes::Al2Arm64 => "AL2_ARM_64",
AmiTypes::Al2X8664 => "AL2_x86_64",
@@ -138,6 +148,8 @@ impl AmiTypes {
pub const fn values() -> &'static [&'static str] {
&[
"AL2023_ARM_64_STANDARD",
+ "AL2023_x86_64_NEURON",
+ "AL2023_x86_64_NVIDIA",
"AL2023_x86_64_STANDARD",
"AL2_ARM_64",
"AL2_x86_64",
@@ -175,6 +187,8 @@ impl ::std::fmt::Display for AmiTypes {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
match self {
AmiTypes::Al2023Arm64Standard => write!(f, "AL2023_ARM_64_STANDARD"),
+ AmiTypes::Al2023X8664Neuron => write!(f, "AL2023_x86_64_NEURON"),
+ AmiTypes::Al2023X8664Nvidia => write!(f, "AL2023_x86_64_NVIDIA"),
AmiTypes::Al2023X8664Standard => write!(f, "AL2023_x86_64_STANDARD"),
AmiTypes::Al2Arm64 => write!(f, "AL2_ARM_64"),
AmiTypes::Al2X8664 => write!(f, "AL2_x86_64"),
diff --git a/sdk/groundstation/Cargo.toml b/sdk/groundstation/Cargo.toml
index 15cc8ca7d684..eab128a98ef0 100644
--- a/sdk/groundstation/Cargo.toml
+++ b/sdk/groundstation/Cargo.toml
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-groundstation"
-version = "1.38.0"
+version = "1.38.1"
authors = ["AWS Rust SDK Team ", "Russell Cohen "]
description = "AWS SDK for AWS Ground Station"
edition = "2021"
diff --git a/sdk/groundstation/README.md b/sdk/groundstation/README.md
index 1d5e3d06d255..e573656afa11 100644
--- a/sdk/groundstation/README.md
+++ b/sdk/groundstation/README.md
@@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-aws-sdk-groundstation = "1.38.0"
+aws-sdk-groundstation = "1.38.1"
tokio = { version = "1", features = ["full"] }
```
diff --git a/sdk/groundstation/src/lib.rs b/sdk/groundstation/src/lib.rs
index efe843b94671..3748fea35eea 100644
--- a/sdk/groundstation/src/lib.rs
+++ b/sdk/groundstation/src/lib.rs
@@ -31,7 +31,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-//! aws-sdk-groundstation = "1.38.0"
+//! aws-sdk-groundstation = "1.38.1"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
diff --git a/sdk/groundstation/src/types/_ephemeris_data.rs b/sdk/groundstation/src/types/_ephemeris_data.rs
index 190801c5bec5..5071c923862a 100644
--- a/sdk/groundstation/src/types/_ephemeris_data.rs
+++ b/sdk/groundstation/src/types/_ephemeris_data.rs
@@ -5,7 +5,7 @@
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub enum EphemerisData {
///
Ephemeris data in Orbit Ephemeris Message (OEM) format.
- ///
Position, velocity, and acceleration units must be represented in km, km/s, and km/s**2, respectively, in ephemeris data lines. Covariance matrix line units must be represented in km**2 if computed from two positions, km**2/s if computed from one position and one velocity, and km**2/s**2 if computed from two velocities. Consult section 7.7.2 of The Consultative Committee for Space Data Systems (CCSDS) Recommended Standard for Orbit Data Messages for more information.
+ ///
AWS Ground Station processes OEM Customer Provided Ephemerides according to the CCSDS standard with some extra restrictions. OEM files should be in KVN format. For more detail about the OEM format that AWS Ground Station supports, see OEM ephemeris format in the AWS Ground Station user guide.
Oem(crate::types::OemEphemeris),
///
Two-line element set (TLE) ephemeris.
Tle(crate::types::TleEphemeris),
diff --git a/sdk/groundstation/src/types/_oem_ephemeris.rs b/sdk/groundstation/src/types/_oem_ephemeris.rs
index 638baa69d035..0cdf503689cb 100644
--- a/sdk/groundstation/src/types/_oem_ephemeris.rs
+++ b/sdk/groundstation/src/types/_oem_ephemeris.rs
@@ -1,7 +1,7 @@
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
///
Ephemeris data in Orbit Ephemeris Message (OEM) format.
-///
Position, velocity, and acceleration units must be represented in km, km/s, and km/s**2, respectively, in ephemeris data lines. Covariance matrix line units must be represented in km**2 if computed from two positions, km**2/s if computed from one position and one velocity, and km**2/s**2 if computed from two velocities. Consult section 7.7.2 of The Consultative Committee for Space Data Systems (CCSDS) Recommended Standard for Orbit Data Messages for more information.
+///
AWS Ground Station processes OEM Customer Provided Ephemerides according to the CCSDS standard with some extra restrictions. OEM files should be in KVN format. For more detail about the OEM format that AWS Ground Station supports, see OEM ephemeris format in the AWS Ground Station user guide.
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct OemEphemeris {
diff --git a/sdk/medialive/Cargo.toml b/sdk/medialive/Cargo.toml
index cd2310b53f7e..715f2d74bc79 100644
--- a/sdk/medialive/Cargo.toml
+++ b/sdk/medialive/Cargo.toml
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-medialive"
-version = "1.44.0"
+version = "1.45.0"
authors = ["AWS Rust SDK Team ", "Russell Cohen "]
description = "AWS SDK for AWS Elemental MediaLive"
edition = "2021"
diff --git a/sdk/medialive/README.md b/sdk/medialive/README.md
index a0fb5d6f013b..1a952a9d2f1e 100644
--- a/sdk/medialive/README.md
+++ b/sdk/medialive/README.md
@@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-aws-sdk-medialive = "1.44.0"
+aws-sdk-medialive = "1.45.0"
tokio = { version = "1", features = ["full"] }
```
diff --git a/sdk/medialive/src/client/update_multiplex.rs b/sdk/medialive/src/client/update_multiplex.rs
index 1a6ad518df7c..04c772bc4a41 100644
--- a/sdk/medialive/src/client/update_multiplex.rs
+++ b/sdk/medialive/src/client/update_multiplex.rs
@@ -6,6 +6,7 @@ impl super::Client {
/// - [`multiplex_id(impl Into)`](crate::operation::update_multiplex::builders::UpdateMultiplexFluentBuilder::multiplex_id) / [`set_multiplex_id(Option)`](crate::operation::update_multiplex::builders::UpdateMultiplexFluentBuilder::set_multiplex_id): required: **true** ID of the multiplex to update.
/// - [`multiplex_settings(MultiplexSettings)`](crate::operation::update_multiplex::builders::UpdateMultiplexFluentBuilder::multiplex_settings) / [`set_multiplex_settings(Option)`](crate::operation::update_multiplex::builders::UpdateMultiplexFluentBuilder::set_multiplex_settings): required: **false** The new settings for a multiplex.
/// - [`name(impl Into)`](crate::operation::update_multiplex::builders::UpdateMultiplexFluentBuilder::name) / [`set_name(Option)`](crate::operation::update_multiplex::builders::UpdateMultiplexFluentBuilder::set_name): required: **false** Name of the multiplex.
+ /// - [`packet_identifiers_mapping(impl Into, MultiplexProgramPacketIdentifiersMap)`](crate::operation::update_multiplex::builders::UpdateMultiplexFluentBuilder::packet_identifiers_mapping) / [`set_packet_identifiers_mapping(Option>)`](crate::operation::update_multiplex::builders::UpdateMultiplexFluentBuilder::set_packet_identifiers_mapping): required: **false** Placeholder documentation for MultiplexPacketIdentifiersMapping
/// - On success, responds with [`UpdateMultiplexOutput`](crate::operation::update_multiplex::UpdateMultiplexOutput) with field(s):
/// - [`multiplex(Option)`](crate::operation::update_multiplex::UpdateMultiplexOutput::multiplex): The updated multiplex.
/// - On failure, responds with [`SdkError`](crate::operation::update_multiplex::UpdateMultiplexError)
diff --git a/sdk/medialive/src/lib.rs b/sdk/medialive/src/lib.rs
index c7c81b3a26b1..5a73450ea94e 100644
--- a/sdk/medialive/src/lib.rs
+++ b/sdk/medialive/src/lib.rs
@@ -31,7 +31,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-//! aws-sdk-medialive = "1.44.0"
+//! aws-sdk-medialive = "1.45.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
diff --git a/sdk/medialive/src/operation/update_multiplex/_update_multiplex_input.rs b/sdk/medialive/src/operation/update_multiplex/_update_multiplex_input.rs
index 133bfc3135dc..32866c058ed7 100644
--- a/sdk/medialive/src/operation/update_multiplex/_update_multiplex_input.rs
+++ b/sdk/medialive/src/operation/update_multiplex/_update_multiplex_input.rs
@@ -10,6 +10,9 @@ pub struct UpdateMultiplexInput {
pub multiplex_settings: ::std::option::Option,
/// Name of the multiplex.
pub name: ::std::option::Option<::std::string::String>,
+ /// Placeholder documentation for MultiplexPacketIdentifiersMapping
+ pub packet_identifiers_mapping:
+ ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::MultiplexProgramPacketIdentifiersMap>>,
}
impl UpdateMultiplexInput {
/// ID of the multiplex to update.
@@ -24,6 +27,12 @@ impl UpdateMultiplexInput {
pub fn name(&self) -> ::std::option::Option<&str> {
self.name.as_deref()
}
+ /// Placeholder documentation for MultiplexPacketIdentifiersMapping
+ pub fn packet_identifiers_mapping(
+ &self,
+ ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::MultiplexProgramPacketIdentifiersMap>> {
+ self.packet_identifiers_mapping.as_ref()
+ }
}
impl UpdateMultiplexInput {
/// Creates a new builder-style object to manufacture [`UpdateMultiplexInput`](crate::operation::update_multiplex::UpdateMultiplexInput).
@@ -39,6 +48,8 @@ pub struct UpdateMultiplexInputBuilder {
pub(crate) multiplex_id: ::std::option::Option<::std::string::String>,
pub(crate) multiplex_settings: ::std::option::Option,
pub(crate) name: ::std::option::Option<::std::string::String>,
+ pub(crate) packet_identifiers_mapping:
+ ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::MultiplexProgramPacketIdentifiersMap>>,
}
impl UpdateMultiplexInputBuilder {
/// ID of the multiplex to update.
@@ -84,6 +95,35 @@ impl UpdateMultiplexInputBuilder {
pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
&self.name
}
+ /// Adds a key-value pair to `packet_identifiers_mapping`.
+ ///
+ /// To override the contents of this collection use [`set_packet_identifiers_mapping`](Self::set_packet_identifiers_mapping).
+ ///
+ /// Placeholder documentation for MultiplexPacketIdentifiersMapping
+ pub fn packet_identifiers_mapping(
+ mut self,
+ k: impl ::std::convert::Into<::std::string::String>,
+ v: crate::types::MultiplexProgramPacketIdentifiersMap,
+ ) -> Self {
+ let mut hash_map = self.packet_identifiers_mapping.unwrap_or_default();
+ hash_map.insert(k.into(), v);
+ self.packet_identifiers_mapping = ::std::option::Option::Some(hash_map);
+ self
+ }
+ /// Placeholder documentation for MultiplexPacketIdentifiersMapping
+ pub fn set_packet_identifiers_mapping(
+ mut self,
+ input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::MultiplexProgramPacketIdentifiersMap>>,
+ ) -> Self {
+ self.packet_identifiers_mapping = input;
+ self
+ }
+ /// Placeholder documentation for MultiplexPacketIdentifiersMapping
+ pub fn get_packet_identifiers_mapping(
+ &self,
+ ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::MultiplexProgramPacketIdentifiersMap>> {
+ &self.packet_identifiers_mapping
+ }
/// Consumes the builder and constructs a [`UpdateMultiplexInput`](crate::operation::update_multiplex::UpdateMultiplexInput).
pub fn build(
self,
@@ -92,6 +132,7 @@ impl UpdateMultiplexInputBuilder {
multiplex_id: self.multiplex_id,
multiplex_settings: self.multiplex_settings,
name: self.name,
+ packet_identifiers_mapping: self.packet_identifiers_mapping,
})
}
}
diff --git a/sdk/medialive/src/operation/update_multiplex/builders.rs b/sdk/medialive/src/operation/update_multiplex/builders.rs
index a5f678b197b9..5e9eca1096c0 100644
--- a/sdk/medialive/src/operation/update_multiplex/builders.rs
+++ b/sdk/medialive/src/operation/update_multiplex/builders.rs
@@ -150,4 +150,32 @@ impl UpdateMultiplexFluentBuilder {
pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_name()
}
+ ///
+ /// Adds a key-value pair to `PacketIdentifiersMapping`.
+ ///
+ /// To override the contents of this collection use [`set_packet_identifiers_mapping`](Self::set_packet_identifiers_mapping).
+ ///
+ /// Placeholder documentation for MultiplexPacketIdentifiersMapping
+ pub fn packet_identifiers_mapping(
+ mut self,
+ k: impl ::std::convert::Into<::std::string::String>,
+ v: crate::types::MultiplexProgramPacketIdentifiersMap,
+ ) -> Self {
+ self.inner = self.inner.packet_identifiers_mapping(k.into(), v);
+ self
+ }
+ /// Placeholder documentation for MultiplexPacketIdentifiersMapping
+ pub fn set_packet_identifiers_mapping(
+ mut self,
+ input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::MultiplexProgramPacketIdentifiersMap>>,
+ ) -> Self {
+ self.inner = self.inner.set_packet_identifiers_mapping(input);
+ self
+ }
+ /// Placeholder documentation for MultiplexPacketIdentifiersMapping
+ pub fn get_packet_identifiers_mapping(
+ &self,
+ ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::MultiplexProgramPacketIdentifiersMap>> {
+ self.inner.get_packet_identifiers_mapping()
+ }
}
diff --git a/sdk/medialive/src/protocol_serde/shape_multiplex_program_packet_identifiers_map.rs b/sdk/medialive/src/protocol_serde/shape_multiplex_program_packet_identifiers_map.rs
index 4fec4ca30dc5..81b0da3c8ab2 100644
--- a/sdk/medialive/src/protocol_serde/shape_multiplex_program_packet_identifiers_map.rs
+++ b/sdk/medialive/src/protocol_serde/shape_multiplex_program_packet_identifiers_map.rs
@@ -89,6 +89,30 @@ where
.transpose()?,
);
}
+ "aribCaptionsPid" => {
+ builder = builder.set_arib_captions_pid(
+ ::aws_smithy_json::deserialize::token::expect_number_or_null(tokens.next())?
+ .map(i32::try_from)
+ .transpose()?,
+ );
+ }
+ "dvbTeletextPids" => {
+ builder = builder.set_dvb_teletext_pids(crate::protocol_serde::shape_list_of_integer::de_list_of_integer(tokens)?);
+ }
+ "ecmPid" => {
+ builder = builder.set_ecm_pid(
+ ::aws_smithy_json::deserialize::token::expect_number_or_null(tokens.next())?
+ .map(i32::try_from)
+ .transpose()?,
+ );
+ }
+ "smpte2038Pid" => {
+ builder = builder.set_smpte2038_pid(
+ ::aws_smithy_json::deserialize::token::expect_number_or_null(tokens.next())?
+ .map(i32::try_from)
+ .transpose()?,
+ );
+ }
_ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?,
},
other => {
@@ -106,3 +130,142 @@ where
)),
}
}
+
+pub fn ser_multiplex_program_packet_identifiers_map(
+ object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
+ input: &crate::types::MultiplexProgramPacketIdentifiersMap,
+) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
+ if let Some(var_1) = &input.audio_pids {
+ let mut array_2 = object.key("audioPids").start_array();
+ for item_3 in var_1 {
+ {
+ array_2.value().number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*item_3).into()),
+ );
+ }
+ }
+ array_2.finish();
+ }
+ if let Some(var_4) = &input.dvb_sub_pids {
+ let mut array_5 = object.key("dvbSubPids").start_array();
+ for item_6 in var_4 {
+ {
+ array_5.value().number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*item_6).into()),
+ );
+ }
+ }
+ array_5.finish();
+ }
+ if let Some(var_7) = &input.dvb_teletext_pid {
+ object.key("dvbTeletextPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_7).into()),
+ );
+ }
+ if let Some(var_8) = &input.etv_platform_pid {
+ object.key("etvPlatformPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_8).into()),
+ );
+ }
+ if let Some(var_9) = &input.etv_signal_pid {
+ object.key("etvSignalPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_9).into()),
+ );
+ }
+ if let Some(var_10) = &input.klv_data_pids {
+ let mut array_11 = object.key("klvDataPids").start_array();
+ for item_12 in var_10 {
+ {
+ array_11.value().number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*item_12).into()),
+ );
+ }
+ }
+ array_11.finish();
+ }
+ if let Some(var_13) = &input.pcr_pid {
+ object.key("pcrPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_13).into()),
+ );
+ }
+ if let Some(var_14) = &input.pmt_pid {
+ object.key("pmtPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_14).into()),
+ );
+ }
+ if let Some(var_15) = &input.private_metadata_pid {
+ object.key("privateMetadataPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_15).into()),
+ );
+ }
+ if let Some(var_16) = &input.scte27_pids {
+ let mut array_17 = object.key("scte27Pids").start_array();
+ for item_18 in var_16 {
+ {
+ array_17.value().number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*item_18).into()),
+ );
+ }
+ }
+ array_17.finish();
+ }
+ if let Some(var_19) = &input.scte35_pid {
+ object.key("scte35Pid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_19).into()),
+ );
+ }
+ if let Some(var_20) = &input.timed_metadata_pid {
+ object.key("timedMetadataPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_20).into()),
+ );
+ }
+ if let Some(var_21) = &input.video_pid {
+ object.key("videoPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_21).into()),
+ );
+ }
+ if let Some(var_22) = &input.arib_captions_pid {
+ object.key("aribCaptionsPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_22).into()),
+ );
+ }
+ if let Some(var_23) = &input.dvb_teletext_pids {
+ let mut array_24 = object.key("dvbTeletextPids").start_array();
+ for item_25 in var_23 {
+ {
+ array_24.value().number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*item_25).into()),
+ );
+ }
+ }
+ array_24.finish();
+ }
+ if let Some(var_26) = &input.ecm_pid {
+ object.key("ecmPid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_26).into()),
+ );
+ }
+ if let Some(var_27) = &input.smpte2038_pid {
+ object.key("smpte2038Pid").number(
+ #[allow(clippy::useless_conversion)]
+ ::aws_smithy_types::Number::NegInt((*var_27).into()),
+ );
+ }
+ Ok(())
+}
diff --git a/sdk/medialive/src/protocol_serde/shape_update_multiplex_input.rs b/sdk/medialive/src/protocol_serde/shape_update_multiplex_input.rs
index 2321c6cbb712..90c9e8a9a429 100644
--- a/sdk/medialive/src/protocol_serde/shape_update_multiplex_input.rs
+++ b/sdk/medialive/src/protocol_serde/shape_update_multiplex_input.rs
@@ -12,5 +12,21 @@ pub fn ser_update_multiplex_input_input(
if let Some(var_3) = &input.name {
object.key("name").string(var_3.as_str());
}
+ if let Some(var_4) = &input.packet_identifiers_mapping {
+ #[allow(unused_mut)]
+ let mut object_5 = object.key("packetIdentifiersMapping").start_object();
+ for (key_6, value_7) in var_4 {
+ {
+ #[allow(unused_mut)]
+ let mut object_8 = object_5.key(key_6.as_str()).start_object();
+ crate::protocol_serde::shape_multiplex_program_packet_identifiers_map::ser_multiplex_program_packet_identifiers_map(
+ &mut object_8,
+ value_7,
+ )?;
+ object_8.finish();
+ }
+ }
+ object_5.finish();
+ }
Ok(())
}
diff --git a/sdk/medialive/src/types/_multiplex_program_packet_identifiers_map.rs b/sdk/medialive/src/types/_multiplex_program_packet_identifiers_map.rs
index 6d5e2aecf909..d45cc043b013 100644
--- a/sdk/medialive/src/types/_multiplex_program_packet_identifiers_map.rs
+++ b/sdk/medialive/src/types/_multiplex_program_packet_identifiers_map.rs
@@ -30,6 +30,14 @@ pub struct MultiplexProgramPacketIdentifiersMap {
pub timed_metadata_pid: ::std::option::Option,
/// Placeholder documentation for __integer
pub video_pid: ::std::option::Option,
+ /// Placeholder documentation for __integer
+ pub arib_captions_pid: ::std::option::Option,
+ /// Placeholder documentation for __listOf__integer
+ pub dvb_teletext_pids: ::std::option::Option<::std::vec::Vec>,
+ /// Placeholder documentation for __integer
+ pub ecm_pid: ::std::option::Option,
+ /// Placeholder documentation for __integer
+ pub smpte2038_pid: ::std::option::Option,
}
impl MultiplexProgramPacketIdentifiersMap {
/// Placeholder documentation for __listOf__integer
@@ -92,6 +100,24 @@ impl MultiplexProgramPacketIdentifiersMap {
pub fn video_pid(&self) -> ::std::option::Option {
self.video_pid
}
+ /// Placeholder documentation for __integer
+ pub fn arib_captions_pid(&self) -> ::std::option::Option {
+ self.arib_captions_pid
+ }
+ /// Placeholder documentation for __listOf__integer
+ ///
+ /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.dvb_teletext_pids.is_none()`.
+ pub fn dvb_teletext_pids(&self) -> &[i32] {
+ self.dvb_teletext_pids.as_deref().unwrap_or_default()
+ }
+ /// Placeholder documentation for __integer
+ pub fn ecm_pid(&self) -> ::std::option::Option {
+ self.ecm_pid
+ }
+ /// Placeholder documentation for __integer
+ pub fn smpte2038_pid(&self) -> ::std::option::Option {
+ self.smpte2038_pid
+ }
}
impl MultiplexProgramPacketIdentifiersMap {
/// Creates a new builder-style object to manufacture [`MultiplexProgramPacketIdentifiersMap`](crate::types::MultiplexProgramPacketIdentifiersMap).
@@ -117,6 +143,10 @@ pub struct MultiplexProgramPacketIdentifiersMapBuilder {
pub(crate) scte35_pid: ::std::option::Option,
pub(crate) timed_metadata_pid: ::std::option::Option,
pub(crate) video_pid: ::std::option::Option,
+ pub(crate) arib_captions_pid: ::std::option::Option,
+ pub(crate) dvb_teletext_pids: ::std::option::Option<::std::vec::Vec>,
+ pub(crate) ecm_pid: ::std::option::Option,
+ pub(crate) smpte2038_pid: ::std::option::Option,
}
impl MultiplexProgramPacketIdentifiersMapBuilder {
/// Appends an item to `audio_pids`.
@@ -325,6 +355,68 @@ impl MultiplexProgramPacketIdentifiersMapBuilder {
pub fn get_video_pid(&self) -> &::std::option::Option {
&self.video_pid
}
+ /// Placeholder documentation for __integer
+ pub fn arib_captions_pid(mut self, input: i32) -> Self {
+ self.arib_captions_pid = ::std::option::Option::Some(input);
+ self
+ }
+ /// Placeholder documentation for __integer
+ pub fn set_arib_captions_pid(mut self, input: ::std::option::Option) -> Self {
+ self.arib_captions_pid = input;
+ self
+ }
+ /// Placeholder documentation for __integer
+ pub fn get_arib_captions_pid(&self) -> &::std::option::Option {
+ &self.arib_captions_pid
+ }
+ /// Appends an item to `dvb_teletext_pids`.
+ ///
+ /// To override the contents of this collection use [`set_dvb_teletext_pids`](Self::set_dvb_teletext_pids).
+ ///
+ /// Placeholder documentation for __listOf__integer
+ pub fn dvb_teletext_pids(mut self, input: i32) -> Self {
+ let mut v = self.dvb_teletext_pids.unwrap_or_default();
+ v.push(input);
+ self.dvb_teletext_pids = ::std::option::Option::Some(v);
+ self
+ }
+ /// Placeholder documentation for __listOf__integer
+ pub fn set_dvb_teletext_pids(mut self, input: ::std::option::Option<::std::vec::Vec>) -> Self {
+ self.dvb_teletext_pids = input;
+ self
+ }
+ /// Placeholder documentation for __listOf__integer
+ pub fn get_dvb_teletext_pids(&self) -> &::std::option::Option<::std::vec::Vec> {
+ &self.dvb_teletext_pids
+ }
+ /// Placeholder documentation for __integer
+ pub fn ecm_pid(mut self, input: i32) -> Self {
+ self.ecm_pid = ::std::option::Option::Some(input);
+ self
+ }
+ /// Placeholder documentation for __integer
+ pub fn set_ecm_pid(mut self, input: ::std::option::Option) -> Self {
+ self.ecm_pid = input;
+ self
+ }
+ /// Placeholder documentation for __integer
+ pub fn get_ecm_pid(&self) -> &::std::option::Option {
+ &self.ecm_pid
+ }
+ /// Placeholder documentation for __integer
+ pub fn smpte2038_pid(mut self, input: i32) -> Self {
+ self.smpte2038_pid = ::std::option::Option::Some(input);
+ self
+ }
+ /// Placeholder documentation for __integer
+ pub fn set_smpte2038_pid(mut self, input: ::std::option::Option) -> Self {
+ self.smpte2038_pid = input;
+ self
+ }
+ /// Placeholder documentation for __integer
+ pub fn get_smpte2038_pid(&self) -> &::std::option::Option {
+ &self.smpte2038_pid
+ }
/// Consumes the builder and constructs a [`MultiplexProgramPacketIdentifiersMap`](crate::types::MultiplexProgramPacketIdentifiersMap).
pub fn build(self) -> crate::types::MultiplexProgramPacketIdentifiersMap {
crate::types::MultiplexProgramPacketIdentifiersMap {
@@ -341,6 +433,10 @@ impl MultiplexProgramPacketIdentifiersMapBuilder {
scte35_pid: self.scte35_pid,
timed_metadata_pid: self.timed_metadata_pid,
video_pid: self.video_pid,
+ arib_captions_pid: self.arib_captions_pid,
+ dvb_teletext_pids: self.dvb_teletext_pids,
+ ecm_pid: self.ecm_pid,
+ smpte2038_pid: self.smpte2038_pid,
}
}
}
diff --git a/sdk/sagemaker/Cargo.toml b/sdk/sagemaker/Cargo.toml
index 27c8d849a4da..a16c1edfd58c 100644
--- a/sdk/sagemaker/Cargo.toml
+++ b/sdk/sagemaker/Cargo.toml
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-sagemaker"
-version = "1.63.0"
+version = "1.64.0"
authors = ["AWS Rust SDK Team ", "Russell Cohen "]
description = "AWS SDK for Amazon SageMaker Service"
edition = "2021"
diff --git a/sdk/sagemaker/README.md b/sdk/sagemaker/README.md
index cd1db00a68f5..ce9e7ef224c8 100644
--- a/sdk/sagemaker/README.md
+++ b/sdk/sagemaker/README.md
@@ -18,7 +18,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-aws-sdk-sagemaker = "1.63.0"
+aws-sdk-sagemaker = "1.64.0"
tokio = { version = "1", features = ["full"] }
```
diff --git a/sdk/sagemaker/src/client/create_auto_ml_job_v2.rs b/sdk/sagemaker/src/client/create_auto_ml_job_v2.rs
index 613595d4153c..f4e7cc8c5c7e 100644
--- a/sdk/sagemaker/src/client/create_auto_ml_job_v2.rs
+++ b/sdk/sagemaker/src/client/create_auto_ml_job_v2.rs
@@ -13,6 +13,7 @@ impl super::Client {
/// - [`auto_ml_job_objective(AutoMlJobObjective)`](crate::operation::create_auto_ml_job_v2::builders::CreateAutoMLJobV2FluentBuilder::auto_ml_job_objective) / [`set_auto_ml_job_objective(Option)`](crate::operation::create_auto_ml_job_v2::builders::CreateAutoMLJobV2FluentBuilder::set_auto_ml_job_objective): required: **false**
Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.
For tabular problem types: You must either provide both the AutoMLJobObjective and indicate the type of supervised learning problem in AutoMLProblemTypeConfig (TabularJobConfig.ProblemType), or none at all.
For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.
This structure specifies how to split the data into train and validation datasets.
The validation and training datasets must contain the same headers. For jobs created by calling CreateAutoMLJob, the validation dataset must be less than 2 GB in size.
This attribute must not be set for the time-series forecasting problem type, as Autopilot automatically splits the input dataset into training and validation sets.
Specifies the compute configuration for the AutoML job V2.
/// - On success, responds with [`CreateAutoMlJobV2Output`](crate::operation::create_auto_ml_job_v2::CreateAutoMlJobV2Output) with field(s):
/// - [`auto_ml_job_arn(Option)`](crate::operation::create_auto_ml_job_v2::CreateAutoMlJobV2Output::auto_ml_job_arn):
The unique ARN assigned to the AutoMLJob when it is created.
/// - On failure, responds with [`SdkError`](crate::operation::create_auto_ml_job_v2::CreateAutoMLJobV2Error)
diff --git a/sdk/sagemaker/src/client/describe_auto_ml_job_v2.rs b/sdk/sagemaker/src/client/describe_auto_ml_job_v2.rs
index 8d3c06fe4d68..908fb131acb6 100644
--- a/sdk/sagemaker/src/client/describe_auto_ml_job_v2.rs
+++ b/sdk/sagemaker/src/client/describe_auto_ml_job_v2.rs
@@ -27,6 +27,7 @@ impl super::Client {
/// - [`model_deploy_result(Option)`](crate::operation::describe_auto_ml_job_v2::DescribeAutoMlJobV2Output::model_deploy_result):
Provides information about endpoint for the model deployment.
The compute configuration used for the AutoML job V2.
/// - On failure, responds with [`SdkError`](crate::operation::describe_auto_ml_job_v2::DescribeAutoMLJobV2Error)
pub fn describe_auto_ml_job_v2(&self) -> crate::operation::describe_auto_ml_job_v2::builders::DescribeAutoMLJobV2FluentBuilder {
crate::operation::describe_auto_ml_job_v2::builders::DescribeAutoMLJobV2FluentBuilder::new(self.handle.clone())
diff --git a/sdk/sagemaker/src/lib.rs b/sdk/sagemaker/src/lib.rs
index 9837800f1039..a281fab00ef8 100644
--- a/sdk/sagemaker/src/lib.rs
+++ b/sdk/sagemaker/src/lib.rs
@@ -35,7 +35,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
-//! aws-sdk-sagemaker = "1.63.0"
+//! aws-sdk-sagemaker = "1.64.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
diff --git a/sdk/sagemaker/src/operation/create_auto_ml_job/builders.rs b/sdk/sagemaker/src/operation/create_auto_ml_job/builders.rs
index ee7b106ed5fa..6448ec39bfe7 100644
--- a/sdk/sagemaker/src/operation/create_auto_ml_job/builders.rs
+++ b/sdk/sagemaker/src/operation/create_auto_ml_job/builders.rs
@@ -22,7 +22,9 @@ impl crate::operation::create_auto_ml_job::builders::CreateAutoMlJobInputBuilder
}
/// Fluent builder constructing a request to `CreateAutoMLJob`.
///
-///
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.
+///
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.
+///
An AutoML job in SageMaker is a fully automated process that allows you to build machine learning models with minimal effort and machine learning expertise. When initiating an AutoML job, you provide your data and optionally specify parameters tailored to your use case. SageMaker then automates the entire model development lifecycle, including data preprocessing, model training, tuning, and evaluation. AutoML jobs are designed to simplify and accelerate the model building process by automating various tasks and exploring different combinations of machine learning algorithms, data preprocessing techniques, and hyperparameter values. The output of an AutoML job comprises one or more trained models ready for deployment and inference. Additionally, SageMaker AutoML jobs generate a candidate model leaderboard, allowing you to select the best-performing model for deployment.
CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).
This attribute must not be set for the time-series forecasting problem type, as Autopilot automatically splits the input dataset into training and validation sets.
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.
+///
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.
+///
An AutoML job in SageMaker is a fully automated process that allows you to build machine learning models with minimal effort and machine learning expertise. When initiating an AutoML job, you provide your data and optionally specify parameters tailored to your use case. SageMaker then automates the entire model development lifecycle, including data preprocessing, model training, tuning, and evaluation. AutoML jobs are designed to simplify and accelerate the model building process by automating various tasks and exploring different combinations of machine learning algorithms, data preprocessing techniques, and hyperparameter values. The output of an AutoML job comprises one or more trained models ready for deployment and inference. Additionally, SageMaker AutoML jobs generate a candidate model leaderboard, allowing you to select the best-performing model for deployment.
AutoML jobs V2 support various problem types such as regression, binary, and multiclass classification with tabular data, text and image classification, time-series forecasting, and fine-tuning of large language models (LLMs) for text generation.
CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).