diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c33377217..88c9463161 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Release v1.44.88 (2022-08-30) +=== + +### Service Client Updates +* `service/greengrassv2`: Updates service API and documentation +* `service/identitystore`: Updates service documentation +* `service/lookoutequipment`: Updates service API, documentation, and paginators +* `service/macie2`: Updates service API and documentation +* `service/sso`: Updates service documentation + * Documentation updates for the AWS IAM Identity Center Portal CLI Reference. +* `service/sso-admin`: Updates service documentation + Release v1.44.87 (2022-08-29) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index ff1af48487..9e3122306f 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -33,6 +33,7 @@ const ( EuWest1RegionID = "eu-west-1" // Europe (Ireland). EuWest2RegionID = "eu-west-2" // Europe (London). EuWest3RegionID = "eu-west-3" // Europe (Paris). + MeCentral1RegionID = "me-central-1" // Middle East (UAE). MeSouth1RegionID = "me-south-1" // Middle East (Bahrain). SaEast1RegionID = "sa-east-1" // South America (Sao Paulo). UsEast1RegionID = "us-east-1" // US East (N. Virginia). @@ -186,6 +187,9 @@ var awsPartition = partition{ "eu-west-3": region{ Description: "Europe (Paris)", }, + "me-central-1": region{ + Description: "Middle East (UAE)", + }, "me-south-1": region{ Description: "Middle East (Bahrain)", }, @@ -314,6 +318,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -437,6 +444,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -1298,6 +1308,14 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{ + Hostname: "api.ecr.me-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "me-central-1", + }, + }, endpointKey{ Region: "me-south-1", }: endpoint{ @@ -1948,9 +1966,18 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "apigateway-fips.ca-central-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -1969,6 +1996,54 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "fips-ca-central-1", + }: endpoint{ + Hostname: "apigateway-fips.ca-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-central-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-east-1", + }: endpoint{ + Hostname: "apigateway-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-east-2", + }: endpoint{ + Hostname: "apigateway-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-1", + }: endpoint{ + Hostname: "apigateway-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-2", + }: endpoint{ + Hostname: "apigateway-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -1978,15 +2053,39 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "apigateway-fips.us-east-1.amazonaws.com", + }, endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "apigateway-fips.us-east-2.amazonaws.com", + }, endpointKey{ Region: "us-west-1", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "apigateway-fips.us-west-1.amazonaws.com", + }, endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "apigateway-fips.us-west-2.amazonaws.com", + }, }, }, "app-integrations": service{ @@ -2073,6 +2172,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -2267,6 +2369,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -3032,6 +3137,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -3884,6 +3992,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -4183,6 +4294,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -4601,6 +4715,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -5613,6 +5730,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -6526,6 +6646,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -6742,6 +6865,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -7226,6 +7352,9 @@ var awsPartition = partition{ Region: "us-east-1", }, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -7569,6 +7698,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -7723,6 +7855,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -7989,6 +8124,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -8690,6 +8828,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -8843,6 +8984,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -9258,6 +9402,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -9424,6 +9571,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -12697,6 +12847,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -13153,6 +13306,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, + endpointKey{ + Region: "me-central-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "kms-fips.me-central-1.amazonaws.com", + }, endpointKey{ Region: "me-central-1-fips", }: endpoint{ @@ -13581,6 +13743,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -14050,6 +14215,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -15027,6 +15195,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -15375,6 +15546,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -16388,6 +16562,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -17170,6 +17347,12 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rbin-fips.ca-central-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -17188,6 +17371,54 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "fips-ca-central-1", + }: endpoint{ + Hostname: "rbin-fips.ca-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-central-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-east-1", + }: endpoint{ + Hostname: "rbin-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-east-2", + }: endpoint{ + Hostname: "rbin-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-1", + }: endpoint{ + Hostname: "rbin-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-2", + }: endpoint{ + Hostname: "rbin-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -17197,15 +17428,39 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rbin-fips.us-east-1.amazonaws.com", + }, endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rbin-fips.us-east-2.amazonaws.com", + }, endpointKey{ Region: "us-west-1", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rbin-fips.us-west-1.amazonaws.com", + }, endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rbin-fips.us-west-2.amazonaws.com", + }, }, }, "rds": service{ @@ -17273,6 +17528,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -17698,6 +17956,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -18972,6 +19233,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, + endpointKey{ + Region: "me-central-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3.dualstack.me-central-1.amazonaws.com", + }, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -19893,6 +20163,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -21397,6 +21670,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -21533,6 +21809,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -21681,6 +21960,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -21924,6 +22206,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -22189,6 +22474,9 @@ var awsPartition = partition{ Region: "us-east-1", }, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -22268,6 +22556,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -22460,6 +22751,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -22590,6 +22884,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -22684,6 +22981,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -24934,6 +25234,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 7091b12ad0..d0014d7d8c 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.87" +const SDKVersion = "1.44.88" diff --git a/models/apis/greengrassv2/2020-11-30/api-2.json b/models/apis/greengrassv2/2020-11-30/api-2.json index f42fc301c9..952d947a78 100644 --- a/models/apis/greengrassv2/2020-11-30/api-2.json +++ b/models/apis/greengrassv2/2020-11-30/api-2.json @@ -873,7 +873,7 @@ "required":["targetArn"], "members":{ "targetArn":{"shape":"TargetARN"}, - "deploymentName":{"shape":"NonEmptyString"}, + "deploymentName":{"shape":"DeploymentNameString"}, "components":{"shape":"ComponentDeploymentSpecifications"}, "iotJobConfiguration":{"shape":"DeploymentIoTJobConfiguration"}, "deploymentPolicies":{"shape":"DeploymentPolicies"}, @@ -996,6 +996,11 @@ "member":{"shape":"Deployment"} }, "DeploymentName":{"type":"string"}, + "DeploymentNameString":{ + "type":"string", + "max":256, + "min":1 + }, "DeploymentPolicies":{ "type":"structure", "members":{ @@ -1289,7 +1294,8 @@ "componentVersion":{"shape":"ComponentVersionString"}, "lifecycleState":{"shape":"InstalledComponentLifecycleState"}, "lifecycleStateDetails":{"shape":"LifecycleStateDetails"}, - "isRoot":{"shape":"IsRoot"} + "isRoot":{"shape":"IsRoot"}, + "lastStatusChangeTimestamp":{"shape":"Timestamp"} } }, "InstalledComponentLifecycleState":{ @@ -1309,6 +1315,13 @@ "type":"list", "member":{"shape":"InstalledComponent"} }, + "InstalledComponentTopologyFilter":{ + "type":"string", + "enum":[ + "ALL", + "ROOT" + ] + }, "InternalServerException":{ "type":"structure", "required":["message"], @@ -1557,15 +1570,11 @@ "rw" ] }, - "LambdaFunctionARNWithVersionNumber":{ - "type":"string", - "pattern":"arn:[^:]*:lambda:[^:]+:[0-9]+:function:[a-zA-Z0-9-_]+:[0-9]+" - }, "LambdaFunctionRecipeSource":{ "type":"structure", "required":["lambdaArn"], "members":{ - "lambdaArn":{"shape":"LambdaFunctionARNWithVersionNumber"}, + "lambdaArn":{"shape":"NonEmptyString"}, "componentName":{"shape":"ComponentNameString"}, "componentVersion":{"shape":"ComponentVersionString"}, "componentPlatforms":{"shape":"ComponentPlatformList"}, @@ -1829,6 +1838,12 @@ "box":true, "location":"querystring", "locationName":"nextToken" + }, + "topologyFilter":{ + "shape":"InstalledComponentTopologyFilter", + "box":true, + "location":"querystring", + "locationName":"topologyFilter" } } }, diff --git a/models/apis/greengrassv2/2020-11-30/docs-2.json b/models/apis/greengrassv2/2020-11-30/docs-2.json index ed11dd1d7f..b72b35cc79 100644 --- a/models/apis/greengrassv2/2020-11-30/docs-2.json +++ b/models/apis/greengrassv2/2020-11-30/docs-2.json @@ -13,19 +13,19 @@ "DeleteDeployment": "

Deletes a deployment. To delete an active deployment, you must first cancel it. For more information, see CancelDeployment.

Deleting a deployment doesn't affect core devices that run that deployment, because core devices store the deployment's configuration on the device. Additionally, core devices can roll back to a previous deployment that has been deleted.

", "DescribeComponent": "

Retrieves metadata for a version of a component.

", "DisassociateServiceRoleFromAccount": "

Disassociates the Greengrass service role from IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. Without a service role, IoT Greengrass can't verify the identity of client devices or manage core device connectivity information. For more information, see Greengrass service role in the IoT Greengrass Version 2 Developer Guide.

", - "GetComponent": "

Gets the recipe for a version of a component. Core devices can call this operation to identify the artifacts and requirements to install a component.

", + "GetComponent": "

Gets the recipe for a version of a component.

", "GetComponentVersionArtifact": "

Gets the pre-signed URL to download a public or a Lambda component artifact. Core devices call this operation to identify the URL that they can use to download an artifact to install.

", "GetConnectivityInfo": "

Retrieves connectivity information for a Greengrass core device.

Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide.

", - "GetCoreDevice": "

Retrieves metadata for a Greengrass core device.

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then the reported status of that device might not reflect its current status. The status timestamp indicates when the device status was last updated.

Core devices send status updates at the following times:

", + "GetCoreDevice": "

Retrieves metadata for a Greengrass core device.

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then the reported status of that device might not reflect its current status. The status timestamp indicates when the device status was last updated.

Core devices send status updates at the following times:

", "GetDeployment": "

Gets a deployment. Deployments define the components that run on Greengrass core devices.

", "GetServiceRoleForAccount": "

Gets the service role associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. IoT Greengrass uses this role to verify the identity of client devices and manage core device connectivity information. For more information, see Greengrass service role in the IoT Greengrass Version 2 Developer Guide.

", "ListClientDevicesAssociatedWithCoreDevice": "

Retrieves a paginated list of client devices that are associated with a core device.

", "ListComponentVersions": "

Retrieves a paginated list of all versions for a component. Greater versions are listed first.

", "ListComponents": "

Retrieves a paginated list of component summaries. This list includes components that you have permission to view.

", - "ListCoreDevices": "

Retrieves a paginated list of Greengrass core devices.

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then the reported status of that device might not reflect its current status. The status timestamp indicates when the device status was last updated.

Core devices send status updates at the following times:

", + "ListCoreDevices": "

Retrieves a paginated list of Greengrass core devices.

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then the reported status of that device might not reflect its current status. The status timestamp indicates when the device status was last updated.

Core devices send status updates at the following times:

", "ListDeployments": "

Retrieves a paginated list of deployments.

", "ListEffectiveDeployments": "

Retrieves a paginated list of deployment jobs that IoT Greengrass sends to Greengrass core devices.

", - "ListInstalledComponents": "

Retrieves a paginated list of the components that a Greengrass core device runs. This list doesn't include components that are deployed from local deployments or components that are deployed as dependencies of other components.

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then the reported status of that device might not reflect its current status. The status timestamp indicates when the device status was last updated.

Core devices send status updates at the following times:

", + "ListInstalledComponents": "

Retrieves a paginated list of the components that a Greengrass core device runs. By default, this list doesn't include components that are deployed as dependencies of other components. To include dependencies in the response, set the topologyFilter parameter to ALL.

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then the reported status of that device might not reflect its current status. The status timestamp indicates when the device status was last updated.

Core devices send status updates at the following times:

", "ListTagsForResource": "

Retrieves the list of tags for an IoT Greengrass resource.

", "ResolveComponentCandidates": "

Retrieves a list of components that meet the component, version, and platform requirements of a deployment. Greengrass core devices call this operation when they receive a deployment to identify the components to install.

This operation identifies components that meet all dependency requirements for a deployment. If the requirements conflict, then this operation returns an error and the deployment fails. For example, this occurs if component A requires version >2.0.0 and component B requires version <2.0.0 of a component dependency.

When you specify the component candidates to resolve, IoT Greengrass compares each component's digest from the core device with the component's digest in the Amazon Web Services Cloud. If the digests don't match, then IoT Greengrass specifies to use the version from the Amazon Web Services Cloud.

To use this operation, you must use the data plane API endpoint and authenticate with an IoT device certificate. For more information, see IoT Greengrass endpoints and quotas.

", "TagResource": "

Adds tags to an IoT Greengrass resource. If a tag already exists for the resource, this operation updates the tag's value.

", @@ -481,6 +481,12 @@ "EffectiveDeployment$deploymentName": "

The name of the deployment.

" } }, + "DeploymentNameString": { + "base": null, + "refs": { + "CreateDeploymentRequest$deploymentName": "

The name of the deployment.

" + } + }, "DeploymentPolicies": { "base": "

Contains information about policies that define how a deployment updates components and handles failure.

", "refs": { @@ -666,7 +672,13 @@ "InstalledComponentList": { "base": null, "refs": { - "ListInstalledComponentsResponse$installedComponents": "

A list that summarizes each component on the core device.

" + "ListInstalledComponentsResponse$installedComponents": "

A list that summarizes each component on the core device.

Accuracy of the lastStatusChangeTimestamp response depends on Greengrass nucleus v2.7.0. It performs best on Greengrass nucleus v2.7.0 and can be inaccurate on earlier versions.

" + } + }, + "InstalledComponentTopologyFilter": { + "base": null, + "refs": { + "ListInstalledComponentsRequest$topologyFilter": "

The filter for the list of components. Choose from the following options:

Default: ROOT

" } }, "InternalServerException": { @@ -878,12 +890,6 @@ "LambdaVolumeMount$permission": "

The permission to access the volume: read/only (ro) or read/write (rw).

Default: ro

" } }, - "LambdaFunctionARNWithVersionNumber": { - "base": null, - "refs": { - "LambdaFunctionRecipeSource$lambdaArn": "

The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like $LATEST.

" - } - }, "LambdaFunctionRecipeSource": { "base": "

Contains information about an Lambda function to import to create a component.

", "refs": { @@ -1051,7 +1057,6 @@ "ComponentVersionListItem$arn": "

The ARN of the component version.

", "ComponentVersionRequirementMap$key": null, "ComponentVersionRequirementMap$value": null, - "CreateDeploymentRequest$deploymentName": "

The name of the deployment.

", "CreateDeploymentResponse$deploymentId": "

The ID of the deployment.

", "CreateDeploymentResponse$iotJobId": "

The ID of the IoT job that applies the deployment to target devices.

", "DeleteDeploymentRequest$deploymentId": "

The ID of the deployment.

", @@ -1066,6 +1071,7 @@ "GetDeploymentResponse$revisionId": "

The revision number of the deployment.

", "GetDeploymentResponse$deploymentId": "

The ID of the deployment.

", "LambdaEnvironmentVariables$key": null, + "LambdaFunctionRecipeSource$lambdaArn": "

The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like $LATEST.

", "PlatformAttributesMap$key": null, "PlatformAttributesMap$value": null, "ResolvedComponentVersion$message": "

A message that communicates details about the vendor guidance state of the component version. This message communicates why a component version is discontinued or deleted.

", @@ -1105,7 +1111,7 @@ "PlatformAttributesMap": { "base": null, "refs": { - "ComponentPlatform$attributes": "

A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os and platform by default. You can specify additional platform attributes for a core device when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.

" + "ComponentPlatform$attributes": "

A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os and architecture by default. You can specify additional platform attributes for a core device when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.

" } }, "PortNumberInt": { @@ -1309,7 +1315,8 @@ "EffectiveDeployment$creationTimestamp": "

The time at which the deployment was created, expressed in ISO 8601 format.

", "EffectiveDeployment$modifiedTimestamp": "

The time at which the deployment job was last modified, expressed in ISO 8601 format.

", "GetCoreDeviceResponse$lastStatusUpdateTimestamp": "

The time at which the core device's status last updated, expressed in ISO 8601 format.

", - "GetDeploymentResponse$creationTimestamp": "

The time at which the deployment was created, expressed in ISO 8601 format.

" + "GetDeploymentResponse$creationTimestamp": "

The time at which the deployment was created, expressed in ISO 8601 format.

", + "InstalledComponent$lastStatusChangeTimestamp": "

The status of how current the data is.

This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.

" } }, "TopicString": { diff --git a/models/apis/identitystore/2020-06-15/docs-2.json b/models/apis/identitystore/2020-06-15/docs-2.json index eec5ba4650..45f4580bca 100644 --- a/models/apis/identitystore/2020-06-15/docs-2.json +++ b/models/apis/identitystore/2020-06-15/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

The Identity Store service used by Amazon Web Services Single Sign On provides a single place to retrieve all of your identities (users and groups). For more information, see the Amazon Web Services SSO User Guide.

Although Amazon Web Services Single Sign-On was renamed, the sso and identitystore API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see Amazon Web Services SSO rename.

This reference guide describes the identity store operations that you can call programatically and includes detailed information on data types and errors.

", + "service": "

The Identity Store service used by AWS IAM Identity Center (successor to AWS Single Sign-On) provides a single place to retrieve all of your identities (users and groups). For more information, see the IAM Identity Center User Guide.

Although AWS Single Sign-On was renamed, the sso and identitystore API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see IAM Identity Center rename.

This reference guide describes the identity store operations that you can call programatically and includes detailed information on data types and errors.

", "operations": { "DescribeGroup": "

Retrieves the group metadata and attributes from GroupId in an identity store.

", "DescribeUser": "

Retrieves the user metadata and attributes from UserId in an identity store.

", diff --git a/models/apis/lookoutequipment/2020-12-15/api-2.json b/models/apis/lookoutequipment/2020-12-15/api-2.json index 8517130432..c41b039e6f 100644 --- a/models/apis/lookoutequipment/2020-12-15/api-2.json +++ b/models/apis/lookoutequipment/2020-12-15/api-2.json @@ -48,6 +48,41 @@ {"shape":"InternalServerException"} ] }, + "CreateLabel":{ + "name":"CreateLabel", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateLabelRequest"}, + "output":{"shape":"CreateLabelResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, + "CreateLabelGroup":{ + "name":"CreateLabelGroup", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateLabelGroupRequest"}, + "output":{"shape":"CreateLabelGroupResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, "CreateModel":{ "name":"CreateModel", "http":{ @@ -97,6 +132,36 @@ {"shape":"InternalServerException"} ] }, + "DeleteLabel":{ + "name":"DeleteLabel", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteLabelRequest"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"} + ] + }, + "DeleteLabelGroup":{ + "name":"DeleteLabelGroup", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteLabelGroupRequest"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"} + ] + }, "DeleteModel":{ "name":"DeleteModel", "http":{ @@ -160,6 +225,38 @@ {"shape":"InternalServerException"} ] }, + "DescribeLabel":{ + "name":"DescribeLabel", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeLabelRequest"}, + "output":{"shape":"DescribeLabelResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, + "DescribeLabelGroup":{ + "name":"DescribeLabelGroup", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeLabelGroupRequest"}, + "output":{"shape":"DescribeLabelGroupResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, "DescribeModel":{ "name":"DescribeModel", "http":{ @@ -253,6 +350,36 @@ {"shape":"InternalServerException"} ] }, + "ListLabelGroups":{ + "name":"ListLabelGroups", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListLabelGroupsRequest"}, + "output":{"shape":"ListLabelGroupsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, + "ListLabels":{ + "name":"ListLabels", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListLabelsRequest"}, + "output":{"shape":"ListLabelsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, "ListModels":{ "name":"ListModels", "http":{ @@ -400,6 +527,22 @@ {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ] + }, + "UpdateLabelGroup":{ + "name":"UpdateLabelGroup", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateLabelGroupRequest"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] } }, "shapes":{ @@ -431,6 +574,12 @@ "NumberOfCategory":{"shape":"Integer"} } }, + "Comments":{ + "type":"string", + "max":2560, + "min":1, + "pattern":"[\\P{M}\\p{M}]{1,2560}" + }, "ComponentName":{ "type":"string", "max":200, @@ -522,6 +671,58 @@ "Status":{"shape":"InferenceSchedulerStatus"} } }, + "CreateLabelGroupRequest":{ + "type":"structure", + "required":[ + "LabelGroupName", + "ClientToken" + ], + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "FaultCodes":{"shape":"FaultCodes"}, + "ClientToken":{ + "shape":"IdempotenceToken", + "idempotencyToken":true + }, + "Tags":{"shape":"TagList"} + } + }, + "CreateLabelGroupResponse":{ + "type":"structure", + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "LabelGroupArn":{"shape":"LabelGroupArn"} + } + }, + "CreateLabelRequest":{ + "type":"structure", + "required":[ + "LabelGroupName", + "StartTime", + "EndTime", + "Rating", + "ClientToken" + ], + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "StartTime":{"shape":"Timestamp"}, + "EndTime":{"shape":"Timestamp"}, + "Rating":{"shape":"LabelRating"}, + "FaultCode":{"shape":"FaultCode"}, + "Notes":{"shape":"Comments"}, + "Equipment":{"shape":"Equipment"}, + "ClientToken":{ + "shape":"IdempotenceToken", + "idempotencyToken":true + } + } + }, + "CreateLabelResponse":{ + "type":"structure", + "members":{ + "LabelId":{"shape":"LabelId"} + } + }, "CreateModelRequest":{ "type":"structure", "required":[ @@ -674,6 +875,24 @@ "InferenceSchedulerName":{"shape":"InferenceSchedulerIdentifier"} } }, + "DeleteLabelGroupRequest":{ + "type":"structure", + "required":["LabelGroupName"], + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"} + } + }, + "DeleteLabelRequest":{ + "type":"structure", + "required":[ + "LabelGroupName", + "LabelId" + ], + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "LabelId":{"shape":"LabelId"} + } + }, "DeleteModelRequest":{ "type":"structure", "required":["ModelName"], @@ -756,7 +975,51 @@ "DataInputConfiguration":{"shape":"InferenceInputConfiguration"}, "DataOutputConfiguration":{"shape":"InferenceOutputConfiguration"}, "RoleArn":{"shape":"IamRoleArn"}, - "ServerSideKmsKeyId":{"shape":"KmsKeyArn"} + "ServerSideKmsKeyId":{"shape":"KmsKeyArn"}, + "LatestInferenceResult":{"shape":"LatestInferenceResult"} + } + }, + "DescribeLabelGroupRequest":{ + "type":"structure", + "required":["LabelGroupName"], + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"} + } + }, + "DescribeLabelGroupResponse":{ + "type":"structure", + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "LabelGroupArn":{"shape":"LabelGroupArn"}, + "FaultCodes":{"shape":"FaultCodes"}, + "CreatedAt":{"shape":"Timestamp"}, + "UpdatedAt":{"shape":"Timestamp"} + } + }, + "DescribeLabelRequest":{ + "type":"structure", + "required":[ + "LabelGroupName", + "LabelId" + ], + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "LabelId":{"shape":"LabelId"} + } + }, + "DescribeLabelResponse":{ + "type":"structure", + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "LabelGroupArn":{"shape":"LabelGroupArn"}, + "LabelId":{"shape":"LabelId"}, + "StartTime":{"shape":"Timestamp"}, + "EndTime":{"shape":"Timestamp"}, + "Rating":{"shape":"LabelRating"}, + "FaultCode":{"shape":"FaultCode"}, + "Notes":{"shape":"Comments"}, + "Equipment":{"shape":"Equipment"}, + "CreatedAt":{"shape":"Timestamp"} } }, "DescribeModelRequest":{ @@ -805,10 +1068,28 @@ "TotalNumberOfDuplicateTimestamps":{"shape":"Integer"} } }, + "Equipment":{ + "type":"string", + "max":200, + "min":1, + "pattern":"[\\P{M}\\p{M}]{1,200}" + }, "EventDurationInSeconds":{ "type":"long", "min":0 }, + "FaultCode":{ + "type":"string", + "max":100, + "min":1, + "pattern":"[\\P{M}\\p{M}]{1,100}" + }, + "FaultCodes":{ + "type":"list", + "member":{"shape":"FaultCode"}, + "max":50, + "min":0 + }, "FileNameTimestampFormat":{ "type":"string", "pattern":"^EPOCH|yyyy-MM-dd-HH-mm-ss|yyyyMMddHHmmss$" @@ -949,7 +1230,8 @@ "InferenceSchedulerArn":{"shape":"InferenceSchedulerArn"}, "Status":{"shape":"InferenceSchedulerStatus"}, "DataDelayOffsetInMinutes":{"shape":"DataDelayOffsetInMinutes"}, - "DataUploadFrequency":{"shape":"DataUploadFrequency"} + "DataUploadFrequency":{"shape":"DataUploadFrequency"}, + "LatestInferenceResult":{"shape":"LatestInferenceResult"} } }, "IngestedFilesSummary":{ @@ -1041,11 +1323,67 @@ "min":1, "pattern":"arn:aws[a-z\\-]*:kms:[a-z0-9\\-]*:\\d{12}:[\\w\\-\\/]+" }, + "LabelGroupArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:label-group\\/.+" + }, + "LabelGroupName":{ + "type":"string", + "max":200, + "min":1, + "pattern":"^[0-9a-zA-Z_-]{1,200}$" + }, + "LabelGroupSummaries":{ + "type":"list", + "member":{"shape":"LabelGroupSummary"} + }, + "LabelGroupSummary":{ + "type":"structure", + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "LabelGroupArn":{"shape":"LabelGroupArn"}, + "CreatedAt":{"shape":"Timestamp"}, + "UpdatedAt":{"shape":"Timestamp"} + } + }, + "LabelId":{ + "type":"string", + "max":32, + "pattern":"[A-Fa-f0-9]{0,32}" + }, + "LabelRating":{ + "type":"string", + "enum":[ + "ANOMALY", + "NO_ANOMALY", + "NEUTRAL" + ] + }, + "LabelSummaries":{ + "type":"list", + "member":{"shape":"LabelSummary"} + }, + "LabelSummary":{ + "type":"structure", + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "LabelId":{"shape":"LabelId"}, + "LabelGroupArn":{"shape":"LabelGroupArn"}, + "StartTime":{"shape":"Timestamp"}, + "EndTime":{"shape":"Timestamp"}, + "Rating":{"shape":"LabelRating"}, + "FaultCode":{"shape":"FaultCode"}, + "Equipment":{"shape":"Equipment"}, + "CreatedAt":{"shape":"Timestamp"} + } + }, "LabelsInputConfiguration":{ "type":"structure", - "required":["S3InputConfiguration"], "members":{ - "S3InputConfiguration":{"shape":"LabelsS3InputConfiguration"} + "S3InputConfiguration":{"shape":"LabelsS3InputConfiguration"}, + "LabelGroupName":{"shape":"LabelGroupName"} } }, "LabelsS3InputConfiguration":{ @@ -1065,6 +1403,13 @@ "MaxTimestampGapInDays":{"shape":"Integer"} } }, + "LatestInferenceResult":{ + "type":"string", + "enum":[ + "ANOMALOUS", + "NORMAL" + ] + }, "ListDataIngestionJobsRequest":{ "type":"structure", "members":{ @@ -1153,6 +1498,41 @@ "InferenceSchedulerSummaries":{"shape":"InferenceSchedulerSummaries"} } }, + "ListLabelGroupsRequest":{ + "type":"structure", + "members":{ + "LabelGroupNameBeginsWith":{"shape":"LabelGroupName"}, + "NextToken":{"shape":"NextToken"}, + "MaxResults":{"shape":"MaxResults"} + } + }, + "ListLabelGroupsResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"NextToken"}, + "LabelGroupSummaries":{"shape":"LabelGroupSummaries"} + } + }, + "ListLabelsRequest":{ + "type":"structure", + "required":["LabelGroupName"], + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "IntervalStartTime":{"shape":"Timestamp"}, + "IntervalEndTime":{"shape":"Timestamp"}, + "FaultCode":{"shape":"FaultCode"}, + "Equipment":{"shape":"Equipment"}, + "NextToken":{"shape":"NextToken"}, + "MaxResults":{"shape":"MaxResults"} + } + }, + "ListLabelsResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"NextToken"}, + "LabelSummaries":{"shape":"LabelSummaries"} + } + }, "ListModelsRequest":{ "type":"structure", "members":{ @@ -1568,6 +1948,14 @@ "RoleArn":{"shape":"IamRoleArn"} } }, + "UpdateLabelGroupRequest":{ + "type":"structure", + "required":["LabelGroupName"], + "members":{ + "LabelGroupName":{"shape":"LabelGroupName"}, + "FaultCodes":{"shape":"FaultCodes"} + } + }, "ValidationException":{ "type":"structure", "required":["Message"], diff --git a/models/apis/lookoutequipment/2020-12-15/docs-2.json b/models/apis/lookoutequipment/2020-12-15/docs-2.json index 0d6912ec0c..080e2f6133 100644 --- a/models/apis/lookoutequipment/2020-12-15/docs-2.json +++ b/models/apis/lookoutequipment/2020-12-15/docs-2.json @@ -4,19 +4,27 @@ "operations": { "CreateDataset": "

Creates a container for a collection of data being ingested for analysis. The dataset contains the metadata describing where the data is and what the data actually looks like. In other words, it contains the location of the data source, the data schema, and other information. A dataset also contains any tags associated with the ingested data.

", "CreateInferenceScheduler": "

Creates a scheduled inference. Scheduling an inference is setting up a continuous real-time inference plan to analyze new measurement data. When setting up the schedule, you provide an S3 bucket location for the input data, assign it a delimiter between separate entries in the data, set an offset delay if desired, and set the frequency of inferencing. You must also provide an S3 bucket location for the output data.

", + "CreateLabel": "

Creates a label for an event.

", + "CreateLabelGroup": "

Creates a group of labels.

", "CreateModel": "

Creates an ML model for data inference.

A machine-learning (ML) model is a mathematical model that finds patterns in your data. In Amazon Lookout for Equipment, the model learns the patterns of normal behavior and detects abnormal behavior that could be potential equipment failure (or maintenance events). The models are made by analyzing normal data and abnormalities in machine behavior that have already occurred.

Your model is trained using a portion of the data from your dataset and uses that data to learn patterns of normal behavior and abnormal patterns that lead to equipment failure. Another portion of the data is used to evaluate the model's accuracy.

", "DeleteDataset": "

Deletes a dataset and associated artifacts. The operation will check to see if any inference scheduler or data ingestion job is currently using the dataset, and if there isn't, the dataset, its metadata, and any associated data stored in S3 will be deleted. This does not affect any models that used this dataset for training and evaluation, but does prevent it from being used in the future.

", "DeleteInferenceScheduler": "

Deletes an inference scheduler that has been set up. Already processed output results are not affected.

", + "DeleteLabel": "

Deletes a label.

", + "DeleteLabelGroup": "

Deletes a group of labels.

", "DeleteModel": "

Deletes an ML model currently available for Amazon Lookout for Equipment. This will prevent it from being used with an inference scheduler, even one that is already set up.

", "DescribeDataIngestionJob": "

Provides information on a specific data ingestion job such as creation time, dataset ARN, and status.

", "DescribeDataset": "

Provides a JSON description of the data in each time series dataset, including names, column names, and data types.

", "DescribeInferenceScheduler": "

Specifies information about the inference scheduler being used, including name, model, status, and associated metadata

", + "DescribeLabel": "

Returns the name of the label.

", + "DescribeLabelGroup": "

Returns information about the label group.

", "DescribeModel": "

Provides a JSON containing the overall information about a specific ML model, including model name and ARN, dataset, training and evaluation information, status, and so on.

", "ListDataIngestionJobs": "

Provides a list of all data ingestion jobs, including dataset name and ARN, S3 location of the input data, status, and so on.

", "ListDatasets": "

Lists all datasets currently available in your account, filtering on the dataset name.

", "ListInferenceEvents": "

Lists all inference events that have been found for the specified inference scheduler.

", "ListInferenceExecutions": "

Lists all inference executions that have been performed by the specified inference scheduler.

", "ListInferenceSchedulers": "

Retrieves a list of all inference schedulers currently available for your account.

", + "ListLabelGroups": "

Returns a list of the label groups.

", + "ListLabels": "

Provides a list of labels.

", "ListModels": "

Generates a list of all models in the account, including model name and ARN, dataset, and status.

", "ListSensorStatistics": "

Lists statistics about the data collected for each of the sensors that have been successfully ingested in the particular dataset. Can also be used to retreive Sensor Statistics for a previous ingestion job.

", "ListTagsForResource": "

Lists all the tags for a specified resource, including key and value.

", @@ -25,7 +33,8 @@ "StopInferenceScheduler": "

Stops an inference scheduler.

", "TagResource": "

Associates a given tag to a resource in your account. A tag is a key-value pair which can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for organizing your resources as well as helping you to search and filter by tag. Multiple tags can be added to a resource, either when you create it, or later. Up to 50 tags can be associated with each resource.

", "UntagResource": "

Removes a specific tag from a given resource. The tag is specified by its key.

", - "UpdateInferenceScheduler": "

Updates an inference scheduler.

" + "UpdateInferenceScheduler": "

Updates an inference scheduler.

", + "UpdateLabelGroup": "

Updates the label group.

" }, "shapes": { "AccessDeniedException": { @@ -69,6 +78,13 @@ "SensorStatisticsSummary$CategoricalValues": "

Parameter that describes potential risk about whether data associated with the sensor is categorical.

" } }, + "Comments": { + "base": null, + "refs": { + "CreateLabelRequest$Notes": "

Metadata providing additional information about the label.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "DescribeLabelResponse$Notes": "

Metadata providing additional information about the label.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

" + } + }, "ComponentName": { "base": null, "refs": { @@ -115,6 +131,26 @@ "refs": { } }, + "CreateLabelGroupRequest": { + "base": null, + "refs": { + } + }, + "CreateLabelGroupResponse": { + "base": null, + "refs": { + } + }, + "CreateLabelRequest": { + "base": null, + "refs": { + } + }, + "CreateLabelResponse": { + "base": null, + "refs": { + } + }, "CreateModelRequest": { "base": null, "refs": { @@ -128,7 +164,7 @@ "DataDelayOffsetInMinutes": { "base": null, "refs": { - "CreateInferenceSchedulerRequest$DataDelayOffsetInMinutes": "

A period of time (in minutes) by which inference on the data is delayed after the data starts. For instance, if you select an offset delay time of five minutes, inference will not begin on the data until the first data measurement after the five minute mark. For example, if five minutes is selected, the inference scheduler will wake up at the configured frequency with the additional five minute delay time to check the customer S3 bucket. The customer can upload data at the same frequency and they don't need to stop and restart the scheduler when uploading new data.

", + "CreateInferenceSchedulerRequest$DataDelayOffsetInMinutes": "

The interval (in minutes) of planned delay at the start of each inference segment. For example, if inference is set to run every ten minutes, the delay is set to five minutes and the time is 09:08. The inference scheduler will wake up at the configured interval (which, without a delay configured, would be 09:10) plus the additional five minute delay time (so 09:15) to check your Amazon S3 bucket. The delay provides a buffer for you to upload data at the same frequency, so that you don't have to stop and restart the scheduler when uploading new data.

For more information, see Understanding the inference process.

", "DescribeInferenceSchedulerResponse$DataDelayOffsetInMinutes": "

A period of time (in minutes) by which inference on the data is delayed after the data starts. For instance, if you select an offset delay time of five minutes, inference will not begin on the data until the first data measurement after the five minute mark. For example, if five minutes is selected, the inference scheduler will wake up at the configured frequency with the additional five minute delay time to check the customer S3 bucket. The customer can upload data at the same frequency and they don't need to stop and restart the scheduler when uploading new data.

", "InferenceSchedulerSummary$DataDelayOffsetInMinutes": "

A period of time (in minutes) by which inference on the data is delayed after the data starts. For instance, if an offset delay time of five minutes was selected, inference will not begin on the data until the first data measurement after the five minute mark. For example, if five minutes is selected, the inference scheduler will wake up at the configured frequency with the additional five minute delay time to check the customer S3 bucket. The customer can upload data at the same frequency and they don't need to stop and restart the scheduler when uploading new data.

", "UpdateInferenceSchedulerRequest$DataDelayOffsetInMinutes": "

A period of time (in minutes) by which inference on the data is delayed after the data starts. For instance, if you select an offset delay time of five minutes, inference will not begin on the data until the first data measurement after the five minute mark. For example, if five minutes is selected, the inference scheduler will wake up at the configured frequency with the additional five minute delay time to check the customer S3 bucket. The customer can upload data at the same frequency and they don't need to stop and restart the scheduler when uploading new data.

" @@ -169,7 +205,7 @@ "DataUploadFrequency": { "base": null, "refs": { - "CreateInferenceSchedulerRequest$DataUploadFrequency": "

How often data is uploaded to the source S3 bucket for the input data. The value chosen is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment starts a scheduled inference on your data. In this example, it starts once every 5 minutes.

", + "CreateInferenceSchedulerRequest$DataUploadFrequency": "

How often data is uploaded to the source Amazon S3 bucket for the input data. The value chosen is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment runs inference on your data.

For more information, see Understanding the inference process.

", "DescribeInferenceSchedulerResponse$DataUploadFrequency": "

Specifies how often data is uploaded to the source S3 bucket for the input data. This value is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment starts a scheduled inference on your data. In this example, it starts once every 5 minutes.

", "InferenceSchedulerSummary$DataUploadFrequency": "

How often data is uploaded to the source S3 bucket for the input data. This value is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment starts a scheduled inference on your data. In this example, it starts once every 5 minutes.

", "UpdateInferenceSchedulerRequest$DataUploadFrequency": "

How often data is uploaded to the source S3 bucket for the input data. The value chosen is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment starts a scheduled inference on your data. In this example, it starts once every 5 minutes.

" @@ -249,6 +285,16 @@ "refs": { } }, + "DeleteLabelGroupRequest": { + "base": null, + "refs": { + } + }, + "DeleteLabelRequest": { + "base": null, + "refs": { + } + }, "DeleteModelRequest": { "base": null, "refs": { @@ -284,6 +330,26 @@ "refs": { } }, + "DescribeLabelGroupRequest": { + "base": null, + "refs": { + } + }, + "DescribeLabelGroupResponse": { + "base": null, + "refs": { + } + }, + "DescribeLabelRequest": { + "base": null, + "refs": { + } + }, + "DescribeLabelResponse": { + "base": null, + "refs": { + } + }, "DescribeModelRequest": { "base": null, "refs": { @@ -300,12 +366,39 @@ "DataQualitySummary$DuplicateTimestamps": "

Parameter that gives information about duplicate timestamps in the input data.

" } }, + "Equipment": { + "base": null, + "refs": { + "CreateLabelRequest$Equipment": "

Indicates that a label pertains to a particular piece of equipment.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "DescribeLabelResponse$Equipment": "

Indicates that a label pertains to a particular piece of equipment.

", + "LabelSummary$Equipment": "

Indicates that a label pertains to a particular piece of equipment.

", + "ListLabelsRequest$Equipment": "

Lists the labels that pertain to a particular piece of equipment.

" + } + }, "EventDurationInSeconds": { "base": null, "refs": { "InferenceEventSummary$EventDurationInSeconds": "

Indicates the size of an inference event in seconds.

" } }, + "FaultCode": { + "base": null, + "refs": { + "CreateLabelRequest$FaultCode": "

Provides additional information about the label. The fault code must be defined in the FaultCodes attribute of the label group.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "DescribeLabelResponse$FaultCode": "

Indicates the type of anomaly associated with the label.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "FaultCodes$member": null, + "LabelSummary$FaultCode": "

Indicates the type of anomaly associated with the label.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "ListLabelsRequest$FaultCode": "

Returns labels with a particular fault code.

" + } + }, + "FaultCodes": { + "base": null, + "refs": { + "CreateLabelGroupRequest$FaultCodes": "

The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "DescribeLabelGroupResponse$FaultCodes": "

Codes indicating the type of anomaly associated with the labels in the lagbel group.

", + "UpdateLabelGroupRequest$FaultCodes": "

Updates the code indicating the type of anomaly associated with the label.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

" + } + }, "FileNameTimestampFormat": { "base": null, "refs": { @@ -336,6 +429,8 @@ "refs": { "CreateDatasetRequest$ClientToken": "

A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

", "CreateInferenceSchedulerRequest$ClientToken": "

A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

", + "CreateLabelGroupRequest$ClientToken": "

A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one.

", + "CreateLabelRequest$ClientToken": "

A unique identifier for the request to create a label. If you do not set the client request token, Lookout for Equipment generates one.

", "CreateModelRequest$ClientToken": "

A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

", "StartDataIngestionJobRequest$ClientToken": "

A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

" } @@ -566,6 +661,78 @@ "DescribeModelResponse$ServerSideKmsKeyId": "

Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.

" } }, + "LabelGroupArn": { + "base": null, + "refs": { + "CreateLabelGroupResponse$LabelGroupArn": "

The ARN of the label group that you have created.

", + "DescribeLabelGroupResponse$LabelGroupArn": "

The ARN of the label group.

", + "DescribeLabelResponse$LabelGroupArn": "

The ARN of the requested label group.

", + "LabelGroupSummary$LabelGroupArn": "

The ARN of the label group.

", + "LabelSummary$LabelGroupArn": "

The ARN of the label group.

" + } + }, + "LabelGroupName": { + "base": null, + "refs": { + "CreateLabelGroupRequest$LabelGroupName": "

Names a group of labels.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "CreateLabelGroupResponse$LabelGroupName": "

The name of the label group that you have created. Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "CreateLabelRequest$LabelGroupName": "

The name of a group of labels.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "DeleteLabelGroupRequest$LabelGroupName": "

The name of the label group that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "DeleteLabelRequest$LabelGroupName": "

The name of the label group that contains the label that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.

", + "DescribeLabelGroupRequest$LabelGroupName": "

Returns the name of the label group.

", + "DescribeLabelGroupResponse$LabelGroupName": "

The name of the label group.

", + "DescribeLabelRequest$LabelGroupName": "

Returns the name of the group containing the label.

", + "DescribeLabelResponse$LabelGroupName": "

The name of the requested label group.

", + "LabelGroupSummary$LabelGroupName": "

The name of the label group.

", + "LabelSummary$LabelGroupName": "

The name of the label group.

", + "LabelsInputConfiguration$LabelGroupName": "

The name of the label group to be used for label data.

", + "ListLabelGroupsRequest$LabelGroupNameBeginsWith": "

The beginning of the name of the label groups to be listed.

", + "ListLabelsRequest$LabelGroupName": "

Retruns the name of the label group.

", + "UpdateLabelGroupRequest$LabelGroupName": "

The name of the label group to be updated.

" + } + }, + "LabelGroupSummaries": { + "base": null, + "refs": { + "ListLabelGroupsResponse$LabelGroupSummaries": "

A summary of the label groups.

" + } + }, + "LabelGroupSummary": { + "base": "

Contains information about the label group.

", + "refs": { + "LabelGroupSummaries$member": null + } + }, + "LabelId": { + "base": null, + "refs": { + "CreateLabelResponse$LabelId": "

The ID of the label that you have created.

", + "DeleteLabelRequest$LabelId": "

The ID of the label that you want to delete.

", + "DescribeLabelRequest$LabelId": "

Returns the ID of the label.

", + "DescribeLabelResponse$LabelId": "

The ID of the requested label.

", + "LabelSummary$LabelId": "

The ID of the label.

" + } + }, + "LabelRating": { + "base": null, + "refs": { + "CreateLabelRequest$Rating": "

Indicates whether a labeled event represents an anomaly.

", + "DescribeLabelResponse$Rating": "

Indicates whether a labeled event represents an anomaly.

", + "LabelSummary$Rating": "

Indicates whether a labeled event represents an anomaly.

" + } + }, + "LabelSummaries": { + "base": null, + "refs": { + "ListLabelsResponse$LabelSummaries": "

A summary of the items in the label group.

" + } + }, + "LabelSummary": { + "base": "

Information about the label.

", + "refs": { + "LabelSummaries$member": null + } + }, "LabelsInputConfiguration": { "base": "

Contains the configuration information for the S3 location being used to hold label data.

", "refs": { @@ -585,6 +752,13 @@ "SensorStatisticsSummary$LargeTimestampGaps": "

Parameter that describes potential risk about whether data associated with the sensor contains one or more large gaps between consecutive timestamps.

" } }, + "LatestInferenceResult": { + "base": null, + "refs": { + "DescribeInferenceSchedulerResponse$LatestInferenceResult": "

Indicates whether the latest execution for the inference scheduler was Anomalous (anomalous events found) or Normal (no anomalous events found).

", + "InferenceSchedulerSummary$LatestInferenceResult": "

Indicates whether the latest execution for the inference scheduler was Anomalous (anomalous events found) or Normal (no anomalous events found).

" + } + }, "ListDataIngestionJobsRequest": { "base": null, "refs": { @@ -635,6 +809,26 @@ "refs": { } }, + "ListLabelGroupsRequest": { + "base": null, + "refs": { + } + }, + "ListLabelGroupsResponse": { + "base": null, + "refs": { + } + }, + "ListLabelsRequest": { + "base": null, + "refs": { + } + }, + "ListLabelsResponse": { + "base": null, + "refs": { + } + }, "ListModelsRequest": { "base": null, "refs": { @@ -679,8 +873,10 @@ "ListInferenceEventsRequest$MaxResults": "

Specifies the maximum number of inference events to list.

", "ListInferenceExecutionsRequest$MaxResults": "

Specifies the maximum number of inference executions to list.

", "ListInferenceSchedulersRequest$MaxResults": "

Specifies the maximum number of inference schedulers to list.

", + "ListLabelGroupsRequest$MaxResults": "

Specifies the maximum number of label groups to list.

", + "ListLabelsRequest$MaxResults": "

Specifies the maximum number of labels to list.

", "ListModelsRequest$MaxResults": "

Specifies the maximum number of ML models to list.

", - "ListSensorStatisticsRequest$MaxResults": "

Specifies the maximum number of sensors for which to retrieve statistics.

" + "ListSensorStatisticsRequest$MaxResults": "

Specifies the maximum number of sensors for which to retrieve statistics.

" } }, "MissingCompleteSensorData": { @@ -784,7 +980,7 @@ "NextToken": { "base": null, "refs": { - "ListDataIngestionJobsRequest$NextToken": "

An opaque pagination token indicating where to continue the listing of data ingestion jobs.

", + "ListDataIngestionJobsRequest$NextToken": "

An opaque pagination token indicating where to continue the listing of data ingestion jobs.

", "ListDataIngestionJobsResponse$NextToken": "

An opaque pagination token indicating where to continue the listing of data ingestion jobs.

", "ListDatasetsRequest$NextToken": "

An opaque pagination token indicating where to continue the listing of datasets.

", "ListDatasetsResponse$NextToken": "

An opaque pagination token indicating where to continue the listing of datasets.

", @@ -794,10 +990,14 @@ "ListInferenceExecutionsResponse$NextToken": "

An opaque pagination token indicating where to continue the listing of inference executions.

", "ListInferenceSchedulersRequest$NextToken": "

An opaque pagination token indicating where to continue the listing of inference schedulers.

", "ListInferenceSchedulersResponse$NextToken": "

An opaque pagination token indicating where to continue the listing of inference schedulers.

", + "ListLabelGroupsRequest$NextToken": "

An opaque pagination token indicating where to continue the listing of label groups.

", + "ListLabelGroupsResponse$NextToken": "

An opaque pagination token indicating where to continue the listing of label groups.

", + "ListLabelsRequest$NextToken": "

An opaque pagination token indicating where to continue the listing of label groups.

", + "ListLabelsResponse$NextToken": "

An opaque pagination token indicating where to continue the listing of datasets.

", "ListModelsRequest$NextToken": "

An opaque pagination token indicating where to continue the listing of ML models.

", "ListModelsResponse$NextToken": "

An opaque pagination token indicating where to continue the listing of ML models.

", - "ListSensorStatisticsRequest$NextToken": "

An opaque pagination token indicating where to continue the listing of sensor statistics.

", - "ListSensorStatisticsResponse$NextToken": "

An opaque pagination token indicating where to continue the listing of sensor statistics.

" + "ListSensorStatisticsRequest$NextToken": "

An opaque pagination token indicating where to continue the listing of sensor statistics.

", + "ListSensorStatisticsResponse$NextToken": "

An opaque pagination token indicating where to continue the listing of sensor statistics.

" } }, "OffCondition": { @@ -853,7 +1053,7 @@ "SensorStatisticsSummaries": { "base": null, "refs": { - "ListSensorStatisticsResponse$SensorStatisticsSummaries": "

Provides ingestion-based statistics regarding the specified sensor with respect to various validation types, such as whether data exists, the number and percentage of missing values, and the number and percentage of duplicate timestamps.

" + "ListSensorStatisticsResponse$SensorStatisticsSummaries": "

Provides ingestion-based statistics regarding the specified sensor with respect to various validation types, such as whether data exists, the number and percentage of missing values, and the number and percentage of duplicate timestamps.

" } }, "SensorStatisticsSummary": { @@ -936,6 +1136,7 @@ "refs": { "CreateDatasetRequest$Tags": "

Any tags associated with the ingested data described in the dataset.

", "CreateInferenceSchedulerRequest$Tags": "

Any tags associated with the inference scheduler.

", + "CreateLabelGroupRequest$Tags": "

Tags that provide metadata about the label group you are creating.

Data in this field will be retained for service usage. Follow best practices for the security of your data.

", "CreateModelRequest$Tags": "

Any tags associated with the ML model being created.

", "ListTagsForResourceResponse$Tags": "

Any tags associated with the resource.

", "TagResourceRequest$Tags": "

The tag or tags to be associated with a specific resource. Both the tag key and value are specified.

" @@ -977,6 +1178,8 @@ "Timestamp": { "base": null, "refs": { + "CreateLabelRequest$StartTime": "

The start time of the labeled event.

", + "CreateLabelRequest$EndTime": "

The end time of the labeled event.

", "CreateModelRequest$TrainingDataStartTime": "

Indicates the time reference in the dataset that should be used to begin the subset of training data for the ML model.

", "CreateModelRequest$TrainingDataEndTime": "

Indicates the time reference in the dataset that should be used to end the subset of training data for the ML model.

", "CreateModelRequest$EvaluationDataStartTime": "

Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the ML model.

", @@ -991,6 +1194,11 @@ "DescribeDatasetResponse$DataEndTime": "

Indicates the latest timestamp corresponding to data that was successfully ingested during the most recent ingestion of this particular dataset.

", "DescribeInferenceSchedulerResponse$CreatedAt": "

Specifies the time at which the inference scheduler was created.

", "DescribeInferenceSchedulerResponse$UpdatedAt": "

Specifies the time at which the inference scheduler was last updated, if it was.

", + "DescribeLabelGroupResponse$CreatedAt": "

The time at which the label group was created.

", + "DescribeLabelGroupResponse$UpdatedAt": "

The time at which the label group was updated.

", + "DescribeLabelResponse$StartTime": "

The start time of the requested label.

", + "DescribeLabelResponse$EndTime": "

The end time of the requested label.

", + "DescribeLabelResponse$CreatedAt": "

The time at which the label was created.

", "DescribeModelResponse$TrainingDataStartTime": "

Indicates the time reference in the dataset that was used to begin the subset of training data for the ML model.

", "DescribeModelResponse$TrainingDataEndTime": "

Indicates the time reference in the dataset that was used to end the subset of training data for the ML model.

", "DescribeModelResponse$EvaluationDataStartTime": "

Indicates the time reference in the dataset that was used to begin the subset of evaluation data for the ML model.

", @@ -1004,10 +1212,17 @@ "InferenceExecutionSummary$ScheduledStartTime": "

Indicates the start time at which the inference scheduler began the specific inference execution.

", "InferenceExecutionSummary$DataStartTime": "

Indicates the time reference in the dataset at which the inference execution began.

", "InferenceExecutionSummary$DataEndTime": "

Indicates the time reference in the dataset at which the inference execution stopped.

", - "ListInferenceEventsRequest$IntervalStartTime": "

Lookout for Equipment will return all the inference events with start time equal to or greater than the start time given.

", - "ListInferenceEventsRequest$IntervalEndTime": "

Lookout for Equipment will return all the inference events with end time equal to or less than the end time given.

", + "LabelGroupSummary$CreatedAt": "

The time at which the label group was created.

", + "LabelGroupSummary$UpdatedAt": "

The time at which the label group was updated.

", + "LabelSummary$StartTime": "

The timestamp indicating the start of the label.

", + "LabelSummary$EndTime": "

The timestamp indicating the end of the label.

", + "LabelSummary$CreatedAt": "

The time at which the label was created.

", + "ListInferenceEventsRequest$IntervalStartTime": "

Lookout for Equipment will return all the inference events with an end time equal to or greater than the start time given.

", + "ListInferenceEventsRequest$IntervalEndTime": "

Returns all the inference events with an end start time equal to or greater than less than the end time given

", "ListInferenceExecutionsRequest$DataStartTimeAfter": "

The time reference in the inferenced dataset after which Amazon Lookout for Equipment started the inference execution.

", "ListInferenceExecutionsRequest$DataEndTimeBefore": "

The time reference in the inferenced dataset before which Amazon Lookout for Equipment stopped the inference execution.

", + "ListLabelsRequest$IntervalStartTime": "

Returns all the labels with a end time equal to or later than the start time given.

", + "ListLabelsRequest$IntervalEndTime": "

Returns all labels with a start time earlier than the end time given.

", "ModelSummary$CreatedAt": "

The time at which the specific model was created.

", "SensorStatisticsSummary$DataStartTime": "

Indicates the time reference to indicate the beginning of valid data associated with the sensor that the statistics belong to.

", "SensorStatisticsSummary$DataEndTime": "

Indicates the time reference to indicate the end of valid data associated with the sensor that the statistics belong to.

" @@ -1034,6 +1249,11 @@ "refs": { } }, + "UpdateLabelGroupRequest": { + "base": null, + "refs": { + } + }, "ValidationException": { "base": "

The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related AWS service that's being utilized.

", "refs": { diff --git a/models/apis/lookoutequipment/2020-12-15/paginators-1.json b/models/apis/lookoutequipment/2020-12-15/paginators-1.json index 788aa3027e..25be416914 100644 --- a/models/apis/lookoutequipment/2020-12-15/paginators-1.json +++ b/models/apis/lookoutequipment/2020-12-15/paginators-1.json @@ -25,6 +25,16 @@ "output_token": "NextToken", "limit_key": "MaxResults" }, + "ListLabelGroups": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, + "ListLabels": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListModels": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/models/apis/macie2/2020-01-01/api-2.json b/models/apis/macie2/2020-01-01/api-2.json index dc00231ae5..ec6ca02655 100644 --- a/models/apis/macie2/2020-01-01/api-2.json +++ b/models/apis/macie2/2020-01-01/api-2.json @@ -85,6 +85,43 @@ } ] }, + "CreateAllowList": { + "name": "CreateAllowList", + "http": { + "method": "POST", + "requestUri": "/allow-lists", + "responseCode": 200 + }, + "input": { + "shape": "CreateAllowListRequest" + }, + "output": { + "shape": "CreateAllowListResponse" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ConflictException" + } + ] + }, "CreateClassificationJob": { "name": "CreateClassificationJob", "http": { @@ -344,6 +381,37 @@ } ] }, + "DeleteAllowList": { + "name": "DeleteAllowList", + "http": { + "method": "DELETE", + "requestUri": "/allow-lists/{id}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteAllowListRequest" + }, + "output": { + "shape": "DeleteAllowListResponse" + }, + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "DeleteCustomDataIdentifier": { "name": "DeleteCustomDataIdentifier", "http": { @@ -899,6 +967,37 @@ } ] }, + "GetAllowList": { + "name": "GetAllowList", + "http": { + "method": "GET", + "requestUri": "/allow-lists/{id}", + "responseCode": 200 + }, + "input": { + "shape": "GetAllowListRequest" + }, + "output": { + "shape": "GetAllowListResponse" + }, + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "GetBucketStatistics": { "name": "GetBucketStatistics", "http": { @@ -1470,6 +1569,34 @@ } ] }, + "ListAllowLists": { + "name": "ListAllowLists", + "http": { + "method": "GET", + "requestUri": "/allow-lists", + "responseCode": 200 + }, + "input": { + "shape": "ListAllowListsRequest" + }, + "output": { + "shape": "ListAllowListsResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "ListClassificationJobs": { "name": "ListClassificationJobs", "http": { @@ -1937,6 +2064,37 @@ }, "errors": [] }, + "UpdateAllowList": { + "name": "UpdateAllowList", + "http": { + "method": "PUT", + "requestUri": "/allow-lists/{id}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateAllowListRequest" + }, + "output": { + "shape": "UpdateAllowListResponse" + }, + "errors": [ + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "AccessDeniedException" + } + ] + }, "UpdateClassificationJob": { "name": "UpdateClassificationJob", "http": { @@ -2248,6 +2406,77 @@ "DISABLING_IN_PROGRESS" ] }, + "AllowListCriteria": { + "type": "structure", + "members": { + "regex": { + "shape": "__stringMin1Max512PatternSS", + "locationName": "regex" + }, + "s3WordsList": { + "shape": "S3WordsList", + "locationName": "s3WordsList" + } + } + }, + "AllowListStatus": { + "type": "structure", + "members": { + "code": { + "shape": "AllowListStatusCode", + "locationName": "code" + }, + "description": { + "shape": "__stringMin1Max1024PatternSS", + "locationName": "description" + } + }, + "required": [ + "code" + ] + }, + "AllowListStatusCode": { + "type": "string", + "enum": [ + "OK", + "S3_OBJECT_NOT_FOUND", + "S3_USER_ACCESS_DENIED", + "S3_OBJECT_ACCESS_DENIED", + "S3_THROTTLED", + "S3_OBJECT_OVERSIZE", + "S3_OBJECT_EMPTY", + "UNKNOWN_ERROR" + ] + }, + "AllowListSummary": { + "type": "structure", + "members": { + "arn": { + "shape": "__stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922", + "locationName": "arn" + }, + "createdAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "description": { + "shape": "__stringMin1Max512PatternSS", + "locationName": "description" + }, + "id": { + "shape": "__stringMin22Max22PatternAZ0922", + "locationName": "id" + }, + "name": { + "shape": "__stringMin1Max128Pattern", + "locationName": "name" + }, + "updatedAt": { + "shape": "__timestampIso8601", + "locationName": "updatedAt" + } + } + }, "AllowsUnencryptedObjectUploads": { "type": "string", "enum": [ @@ -2830,9 +3059,57 @@ "httpStatusCode": 409 } }, + "CreateAllowListRequest": { + "type": "structure", + "members": { + "clientToken": { + "shape": "__string", + "locationName": "clientToken", + "idempotencyToken": true + }, + "criteria": { + "shape": "AllowListCriteria", + "locationName": "criteria" + }, + "description": { + "shape": "__stringMin1Max512PatternSS", + "locationName": "description" + }, + "name": { + "shape": "__stringMin1Max128Pattern", + "locationName": "name" + }, + "tags": { + "shape": "TagMap", + "locationName": "tags" + } + }, + "required": [ + "criteria", + "clientToken", + "name" + ] + }, + "CreateAllowListResponse": { + "type": "structure", + "members": { + "arn": { + "shape": "__stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922", + "locationName": "arn" + }, + "id": { + "shape": "__stringMin22Max22PatternAZ0922", + "locationName": "id" + } + } + }, "CreateClassificationJobRequest": { "type": "structure", "members": { + "allowListIds": { + "shape": "__listOf__string", + "locationName": "allowListIds" + }, "clientToken": { "shape": "__string", "locationName": "clientToken", @@ -3280,6 +3557,28 @@ "shape": "DefaultDetection" } }, + "DeleteAllowListRequest": { + "type": "structure", + "members": { + "id": { + "shape": "__string", + "location": "uri", + "locationName": "id" + }, + "ignoreJobChecks": { + "shape": "__string", + "location": "querystring", + "locationName": "ignoreJobChecks" + } + }, + "required": [ + "id" + ] + }, + "DeleteAllowListResponse": { + "type": "structure", + "members": {} + }, "DeleteCustomDataIdentifierRequest": { "type": "structure", "members": { @@ -3402,6 +3701,10 @@ "DescribeClassificationJobResponse": { "type": "structure", "members": { + "allowListIds": { + "shape": "__listOf__string", + "locationName": "allowListIds" + }, "clientToken": { "shape": "__string", "locationName": "clientToken", @@ -3894,6 +4197,60 @@ } } }, + "GetAllowListRequest": { + "type": "structure", + "members": { + "id": { + "shape": "__string", + "location": "uri", + "locationName": "id" + } + }, + "required": [ + "id" + ] + }, + "GetAllowListResponse": { + "type": "structure", + "members": { + "arn": { + "shape": "__stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922", + "locationName": "arn" + }, + "createdAt": { + "shape": "__timestampIso8601", + "locationName": "createdAt" + }, + "criteria": { + "shape": "AllowListCriteria", + "locationName": "criteria" + }, + "description": { + "shape": "__stringMin1Max512PatternSS", + "locationName": "description" + }, + "id": { + "shape": "__stringMin22Max22PatternAZ0922", + "locationName": "id" + }, + "name": { + "shape": "__stringMin1Max128Pattern", + "locationName": "name" + }, + "status": { + "shape": "AllowListStatus", + "locationName": "status" + }, + "tags": { + "shape": "TagMap", + "locationName": "tags" + }, + "updatedAt": { + "shape": "__timestampIso8601", + "locationName": "updatedAt" + } + } + }, "GetBucketStatisticsRequest": { "type": "structure", "members": { @@ -4744,6 +5101,34 @@ "ERROR" ] }, + "ListAllowListsRequest": { + "type": "structure", + "members": { + "maxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "nextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "ListAllowListsResponse": { + "type": "structure", + "members": { + "allowLists": { + "shape": "__listOfAllowListSummary", + "locationName": "allowLists" + }, + "nextToken": { + "shape": "__string", + "locationName": "nextToken" + } + } + }, "ListClassificationJobsRequest": { "type": "structure", "members": { @@ -5667,6 +6052,23 @@ } } }, + "S3WordsList": { + "type": "structure", + "members": { + "bucketName": { + "shape": "__stringMin3Max255PatternAZaZ093255", + "locationName": "bucketName" + }, + "objectKey": { + "shape": "__stringMin1Max1024PatternSS", + "locationName": "objectKey" + } + }, + "required": [ + "bucketName", + "objectKey" + ] + }, "ScopeFilterKey": { "type": "string", "enum": [ @@ -6360,6 +6762,46 @@ "type": "structure", "members": {} }, + "UpdateAllowListRequest": { + "type": "structure", + "members": { + "criteria": { + "shape": "AllowListCriteria", + "locationName": "criteria" + }, + "description": { + "shape": "__stringMin1Max512PatternSS", + "locationName": "description" + }, + "id": { + "shape": "__string", + "location": "uri", + "locationName": "id" + }, + "name": { + "shape": "__stringMin1Max128Pattern", + "locationName": "name" + } + }, + "required": [ + "id", + "criteria", + "name" + ] + }, + "UpdateAllowListResponse": { + "type": "structure", + "members": { + "arn": { + "shape": "__stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922", + "locationName": "arn" + }, + "id": { + "shape": "__stringMin22Max22PatternAZ0922", + "locationName": "id" + } + } + }, "UpdateClassificationJobRequest": { "type": "structure", "members": { @@ -6746,6 +7188,12 @@ "shape": "AdminAccount" } }, + "__listOfAllowListSummary": { + "type": "list", + "member": { + "shape": "AllowListSummary" + } + }, "__listOfBatchGetCustomDataIdentifierSummary": { "type": "list", "member": { @@ -6927,16 +7375,52 @@ "__string": { "type": "string" }, + "__stringMin1Max1024PatternSS": { + "type": "string", + "min": 1, + "max": 1024, + "pattern": "^[\\s\\S]+$" + }, "__stringMin1Max128": { "type": "string", "min": 1, "max": 128 }, + "__stringMin1Max128Pattern": { + "type": "string", + "min": 1, + "max": 128, + "pattern": "^.+$" + }, "__stringMin1Max2048": { "type": "string", "min": 1, "max": 2048 }, + "__stringMin1Max512PatternSS": { + "type": "string", + "min": 1, + "max": 512, + "pattern": "^[\\s\\S]+$" + }, + "__stringMin22Max22PatternAZ0922": { + "type": "string", + "min": 22, + "max": 22, + "pattern": "^[a-z0-9]{22}$" + }, + "__stringMin3Max255PatternAZaZ093255": { + "type": "string", + "min": 3, + "max": 255, + "pattern": "^[A-Za-z0-9.\\-_]{3,255}$" + }, + "__stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922": { + "type": "string", + "min": 71, + "max": 89, + "pattern": "^arn:(aws|aws-cn|aws-us-gov):macie2:[a-z1-9-]{9,20}:\\d{12}:allow-list\\/[a-z0-9]{22}$" + }, "__timestampIso8601": { "type": "timestamp", "timestampFormat": "iso8601" diff --git a/models/apis/macie2/2020-01-01/docs-2.json b/models/apis/macie2/2020-01-01/docs-2.json index 8719e58b97..393bc4ff65 100644 --- a/models/apis/macie2/2020-01-01/docs-2.json +++ b/models/apis/macie2/2020-01-01/docs-2.json @@ -4,6 +4,7 @@ "operations" : { "AcceptInvitation" : "

Accepts an Amazon Macie membership invitation that was received from a specific account.

", "BatchGetCustomDataIdentifiers" : "

Retrieves information about one or more custom data identifiers.

", + "CreateAllowList" : "

Creates and defines the settings for an allow list.

", "CreateClassificationJob" : "

Creates and defines the settings for a classification job.

", "CreateCustomDataIdentifier" : "

Creates and defines the criteria and other settings for a custom data identifier.

", "CreateFindingsFilter" : "

Creates and defines the criteria and other settings for a findings filter.

", @@ -11,6 +12,7 @@ "CreateMember" : "

Associates an account with an Amazon Macie administrator account.

", "CreateSampleFindings" : "

Creates sample findings.

", "DeclineInvitations" : "

Declines Amazon Macie membership invitations that were received from specific accounts.

", + "DeleteAllowList" : "

Deletes an allow list.

", "DeleteCustomDataIdentifier" : "

Soft deletes a custom data identifier.

", "DeleteFindingsFilter" : "

Deletes a findings filter.

", "DeleteInvitations" : "

Deletes Amazon Macie membership invitations that were received from specific accounts.

", @@ -26,6 +28,7 @@ "EnableMacie" : "

Enables Amazon Macie and specifies the configuration settings for a Macie account.

", "EnableOrganizationAdminAccount" : "

Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.

", "GetAdministratorAccount" : "

Retrieves information about the Amazon Macie administrator account for an account.

", + "GetAllowList" : "

Retrieves the settings and status of an allow list.

", "GetBucketStatistics" : "

Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.

", "GetClassificationExportConfiguration" : "

Retrieves the configuration settings for storing data classification results.

", "GetCustomDataIdentifier" : "

Retrieves the criteria and other settings for a custom data identifier.

", @@ -37,11 +40,12 @@ "GetMacieSession" : "

Retrieves the current status and configuration settings for an Amazon Macie account.

", "GetMasterAccount" : "

(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.

", "GetMember" : "

Retrieves information about an account that's associated with an Amazon Macie administrator account.

", - "GetRevealConfiguration" : "

Retrieves the status and configuration settings for retrieving (revealing) occurrences of sensitive data reported by findings.

", - "GetSensitiveDataOccurrences" : "

Retrieves (reveals) occurrences of sensitive data reported by a finding.

", - "GetSensitiveDataOccurrencesAvailability" : "

Checks whether occurrences of sensitive data can be retrieved (revealed) for a finding.

", + "GetRevealConfiguration" : "

Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.

", + "GetSensitiveDataOccurrences" : "

Retrieves occurrences of sensitive data reported by a finding.

", + "GetSensitiveDataOccurrencesAvailability" : "

Checks whether occurrences of sensitive data can be retrieved for a finding.

", "GetUsageStatistics" : "

Retrieves (queries) quotas and aggregated usage data for one or more accounts.

", "GetUsageTotals" : "

Retrieves (queries) aggregated usage data for an account.

", + "ListAllowLists" : "

Retrieves a subset of information about all the allow lists for an account.

", "ListClassificationJobs" : "

Retrieves a subset of information about one or more classification jobs.

", "ListCustomDataIdentifiers" : "

Retrieves a subset of information about all the custom data identifiers for an account.

", "ListFindings" : "

Retrieves a subset of information about one or more findings.

", @@ -50,19 +54,20 @@ "ListManagedDataIdentifiers" : "

Retrieves information about all the managed data identifiers that Amazon Macie currently provides.

", "ListMembers" : "

Retrieves information about the accounts that are associated with an Amazon Macie administrator account.

", "ListOrganizationAdminAccounts" : "

Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.

", - "ListTagsForResource" : "

Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.

", + "ListTagsForResource" : "

Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.

", "PutClassificationExportConfiguration" : "

Creates or updates the configuration settings for storing data classification results.

", "PutFindingsPublicationConfiguration" : "

Updates the configuration settings for publishing findings to Security Hub.

", "SearchResources" : "

Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.

", - "TagResource" : "

Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.

", + "TagResource" : "

Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.

", "TestCustomDataIdentifier" : "

Tests a custom data identifier.

", - "UntagResource" : "

Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.

", + "UntagResource" : "

Removes one or more tags (keys and values) from an Amazon Macie resource.

", + "UpdateAllowList" : "

Updates the settings for an allow list.

", "UpdateClassificationJob" : "

Changes the status of a classification job.

", "UpdateFindingsFilter" : "

Updates the criteria and other settings for a findings filter.

", "UpdateMacieSession" : "

Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.

", "UpdateMemberSession" : "

Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.

", "UpdateOrganizationConfiguration" : "

Updates the Amazon Macie configuration settings for an organization in Organizations.

", - "UpdateRevealConfiguration" : "

Updates the status and configuration settings for retrieving (revealing) occurrences of sensitive data reported by findings.

" + "UpdateRevealConfiguration" : "

Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.

" }, "shapes" : { "AcceptInvitationRequest" : { @@ -103,6 +108,32 @@ "AdminAccount$Status" : "

The current status of the account as the delegated Amazon Macie administrator account for the organization.

" } }, + "AllowListCriteria" : { + "base" : "

Specifies the criteria for an allow list. The criteria must specify a regular expression (regex) or an S3 object (s3WordsList). It can't specify both.

", + "refs" : { + "CreateAllowListRequest$Criteria" : "

The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.

", + "GetAllowListResponse$Criteria" : "

The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.

", + "UpdateAllowListRequest$Criteria" : "

The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).

You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.

" + } + }, + "AllowListStatus" : { + "base" : "

Provides information about the current status of an allow list, which indicates whether Amazon Macie can access and use the list's criteria.

", + "refs" : { + "GetAllowListResponse$Status" : "

The current status of the allow list, which indicates whether Amazon Macie can access and use the list's criteria.

" + } + }, + "AllowListStatusCode" : { + "base" : "

Indicates the current status of an allow list. Depending on the type of criteria that the list specifies, possible values are:

", + "refs" : { + "AllowListStatus$Code" : "

The current status of the allow list. If the list's criteria specify a regular expression (regex), this value is typically OK. Amazon Macie can compile the expression.

If the list's criteria specify an S3 object, possible values are:

" + } + }, + "AllowListSummary" : { + "base" : "

Provides a subset of information about an allow list.

", + "refs" : { + "__listOfAllowListSummary$member" : null + } + }, "AllowsUnencryptedObjectUploads" : { "base" : null, "refs" : { @@ -256,7 +287,7 @@ "Cells" : { "base" : "

Specifies the location of occurrences of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file.

", "refs" : { - "Occurrences$Cells" : "

An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. This value is null for all other types of files.

Each Cell object specifies a cell or field that contains the sensitive data.

" + "Occurrences$Cells" : "

An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. This value is null for all other types of files.

Each Cell object specifies a cell or field that contains the sensitive data.

" } }, "ClassificationDetails" : { @@ -289,6 +320,14 @@ "base" : "

Provides information about an error that occurred due to a versioning conflict for a specified resource.

", "refs" : { } }, + "CreateAllowListRequest" : { + "base" : "

Specifies the settings for an allow list. When Amazon Macie processes the request, Macie tests the list's criteria. If the criteria specify a regular expression that Macie can't compile or an S3 object that Macie can't retrieve or parse, an error occurs.

", + "refs" : { } + }, + "CreateAllowListResponse" : { + "base" : "

Provides information about an allow list that was created in response to a request.

", + "refs" : { } + }, "CreateClassificationJobRequest" : { "base" : "

Specifies the scope, schedule, and other settings for a classification job. You can't change any settings for a classification job after you create it. This helps ensure that you have an immutable history of sensitive data findings and discovery results for data privacy and protection audits or investigations.

", "refs" : { } @@ -540,11 +579,11 @@ } }, "FindingPublishingFrequency" : { - "base" : "

The frequency with which Amazon Macie publishes updates to policy findings for an account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, see Monitoring and processing findings in the Amazon Macie User Guide. Valid values are:

", + "base" : "

The frequency with which Amazon Macie publishes updates to policy findings for an account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events). For more information, see Monitoring and processing findings in the Amazon Macie User Guide. Valid values are:

", "refs" : { - "EnableMacieRequest$FindingPublishingFrequency" : "

Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

", - "GetMacieSessionResponse$FindingPublishingFrequency" : "

The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

", - "UpdateMacieSessionRequest$FindingPublishingFrequency" : "

Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

" + "EnableMacieRequest$FindingPublishingFrequency" : "

Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).

", + "GetMacieSessionResponse$FindingPublishingFrequency" : "

The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).

", + "UpdateMacieSessionRequest$FindingPublishingFrequency" : "

Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).

" } }, "FindingStatisticsSortAttributeName" : { @@ -585,6 +624,10 @@ "base" : "

Provides information about the Amazon Macie administrator account for an account. If the accounts are associated by a Macie membership invitation, the response also provides information about that invitation.

", "refs" : { } }, + "GetAllowListResponse" : { + "base" : "

Provides information about the settings and status of an allow list.

", + "refs" : { } + }, "GetBucketStatisticsRequest" : { "base" : "

Specifies the account that owns the S3 buckets to retrieve aggregated statistical data for.

", "refs" : { } @@ -823,6 +866,10 @@ "LastRunErrorStatus$Code" : "

Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:

" } }, + "ListAllowListsResponse" : { + "base" : "

Provides the results of a request for information about allow lists.

", + "refs" : { } + }, "ListClassificationJobsRequest" : { "base" : "

Specifies criteria for filtering, sorting, and paginating the results of a request for information about classification jobs.

", "refs" : { } @@ -902,7 +949,7 @@ "refs" : { } }, "ListTagsForResourceResponse" : { - "base" : "

Provides information about the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.

", + "base" : "

Provides information about the tags (keys and values) that are associated with an Amazon Macie resource.

", "refs" : { } }, "MacieStatus" : { @@ -970,7 +1017,7 @@ } }, "Occurrences" : { - "base" : "

Specifies the location of 1-15 occurrences of sensitive data that was detected by a managed data identifier or a custom data identifier and produced a sensitive data finding. Depending on the file or storage format of the affected S3 object, you can optionally retrieve (reveal) sample occurrences of the sensitive data that was detected.

", + "base" : "

Specifies the location of 1-15 occurrences of sensitive data that was detected by a managed data identifier or a custom data identifier and produced a sensitive data finding.

", "refs" : { "CustomDetection$Occurrences" : "

The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

", "DefaultDetection$Occurrences" : "

The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.

" @@ -1002,7 +1049,7 @@ "Pages" : { "base" : "

Specifies the location of occurrences of sensitive data in an Adobe Portable Document Format file.

", "refs" : { - "Occurrences$Pages" : "

An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. This value is null for all other types of files.

Each Page object specifies a page that contains the sensitive data.

" + "Occurrences$Pages" : "

An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. This value is null for all other types of files.

Each Page object specifies a page that contains the sensitive data.

" } }, "PolicyDetails" : { @@ -1075,7 +1122,7 @@ } }, "RevealConfiguration" : { - "base" : "

Specifies the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account. When you enable the configuration for the first time, your request must specify an AWS Key Management Service (AWS KMS) key. Otherwise, an error occurs. Macie uses the specified key to encrypt the sensitive data that you retrieve.

", + "base" : "

Specifies the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account. When you enable the configuration for the first time, your request must specify an Key Management Service (KMS) key. Otherwise, an error occurs. Macie uses the specified key to encrypt the sensitive data that you retrieve.

", "refs" : { "GetRevealConfigurationResponse$Configuration" : "

The current configuration settings and the status of the configuration for the account.

", "UpdateRevealConfigurationRequest$Configuration" : "

The new configuration settings and the status of the configuration for the account.

", @@ -1089,9 +1136,9 @@ } }, "RevealStatus" : { - "base" : "

The status of the configuration for the Amazon Macie account. In a request, valid values are:

", + "base" : "

The status of the configuration for retrieving occurrences of sensitive data reported by findings. Valid values are:

", "refs" : { - "RevealConfiguration$Status" : "

The status of the configuration for the Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.

" + "RevealConfiguration$Status" : "

The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.

" } }, "S3Bucket" : { @@ -1138,6 +1185,12 @@ "ResourcesAffected$S3Object" : "

The details of the S3 object that the finding applies to.

" } }, + "S3WordsList" : { + "base" : "

Provides information about an S3 object that lists specific text to ignore.

", + "refs" : { + "AllowListCriteria$S3WordsList" : "

The location and name of the S3 object that lists specific text to ignore.

" + } + }, "ScopeFilterKey" : { "base" : "

The property to use in a condition that determines whether an S3 object is included or excluded from a classification job. Valid values are:

", "refs" : { @@ -1369,28 +1422,30 @@ } }, "TagMap" : { - "base" : "

A string-to-string map of key-value pairs that specifies the tags (keys and values) for a classification job, custom data identifier, findings filter, or member account.

", + "base" : "

A string-to-string map of key-value pairs that specifies the tags (keys and values) for an Amazon Macie resource.

", "refs" : { + "CreateAllowListRequest$Tags" : "

A map of key-value pairs that specifies the tags to associate with the allow list.

An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", "CreateClassificationJobRequest$Tags" : "

A map of key-value pairs that specifies the tags to associate with the job.

A job can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", "CreateCustomDataIdentifierRequest$Tags" : "

A map of key-value pairs that specifies the tags to associate with the custom data identifier.

A custom data identifier can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", "CreateFindingsFilterRequest$Tags" : "

A map of key-value pairs that specifies the tags to associate with the filter.

A findings filter can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", "CreateMemberRequest$Tags" : "

A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", "DescribeClassificationJobResponse$Tags" : "

A map of key-value pairs that specifies which tags (keys and values) are associated with the classification job.

", - "FindingsFilterListItem$Tags" : "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.

", + "FindingsFilterListItem$Tags" : "

A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.

", + "GetAllowListResponse$Tags" : "

A map of key-value pairs that specifies which tags (keys and values) are associated with the allow list.

", "GetCustomDataIdentifierResponse$Tags" : "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier.

", - "GetFindingsFilterResponse$Tags" : "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.

", - "GetMemberResponse$Tags" : "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.

", - "ListTagsForResourceResponse$Tags" : "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the resource.

", - "Member$Tags" : "

A map of key-value pairs that identifies the tags (keys and values) that are associated with the account in Amazon Macie.

", + "GetFindingsFilterResponse$Tags" : "

A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.

", + "GetMemberResponse$Tags" : "

A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.

", + "ListTagsForResourceResponse$Tags" : "

A map of key-value pairs that specifies which tags (keys and values) are associated with the resource.

", + "Member$Tags" : "

A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.

", "TagResourceRequest$Tags" : "

A map of key-value pairs that specifies the tags to associate with the resource.

A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

" } }, "TagResourceRequest" : { - "base" : "

Specifies the tags (keys and values) to associate with a classification job, custom data identifier, findings filter, or member account.

", + "base" : "

Specifies the tags (keys and values) to associate with an Amazon Macie resource.

", "refs" : { } }, "TagResourceResponse" : { - "base" : "

The request succeeded. The specified tags were added to the resource.

", + "base" : "

The request succeeded. The specified tags were added or updated for the resource.

", "refs" : { } }, "TagScopeTerm" : { @@ -1463,6 +1518,14 @@ "base" : "

The request succeeded. The specified tags were removed from the resource.

", "refs" : { } }, + "UpdateAllowListRequest" : { + "base" : "

Changes the settings for an allow list. If you change the list's criteria, Amazon Macie tests the new criteria when it processes your request. If the criteria specify a regular expression that Macie can't compile or an S3 object that Macie can't retrieve or parse, an error occurs.

", + "refs" : { } + }, + "UpdateAllowListResponse" : { + "base" : "

Provides information about an allow list whose settings were changed in response to a request.

", + "refs" : { } + }, "UpdateClassificationJobRequest" : { "base" : "

Changes the status of a classification job. For more information about pausing, resuming, or cancelling jobs, see Managing sensitive data discovery jobs in the Amazon Macie User Guide.

", "refs" : { } @@ -1599,7 +1662,7 @@ "BucketPolicy$AllowsPublicReadAccess" : "

Specifies whether the bucket policy allows the general public to have read access to the bucket.

", "BucketPolicy$AllowsPublicWriteAccess" : "

Specifies whether the bucket policy allows the general public to have write access to the bucket.

", "ClassificationResult$AdditionalOccurrences" : "

Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).

", - "CreateClassificationJobRequest$InitialRun" : "

For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.

If you configure the job to run only once, don't specify a value for this property.

", + "CreateClassificationJobRequest$InitialRun" : "

For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.

If you configure the job to run only once, don't specify a value for this property.

", "CreateInvitationsRequest$DisableEmailNotification" : "

Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.

", "DescribeClassificationJobResponse$InitialRun" : "

For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true). If you configured the job to analyze only those objects that were created or changed after the job was created and before the job's first scheduled run, this value is false. This value is also false for a one-time job.

", "DescribeOrganizationConfigurationResponse$AutoEnable" : "

Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization.

", @@ -1654,6 +1717,12 @@ "ListOrganizationAdminAccountsResponse$AdminAccounts" : "

An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.

" } }, + "__listOfAllowListSummary" : { + "base" : null, + "refs" : { + "ListAllowListsResponse$AllowLists" : "

An array of objects, one for each allow list.

" + } + }, "__listOfBatchGetCustomDataIdentifierSummary" : { "base" : null, "refs" : { @@ -1791,7 +1860,7 @@ "__listOfUnavailabilityReasonCode" : { "base" : null, "refs" : { - "GetSensitiveDataOccurrencesAvailabilityResponse$Reasons" : "

Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:

This value is null if sensitive data can be retrieved for the finding.

" + "GetSensitiveDataOccurrencesAvailabilityResponse$Reasons" : "

Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:

This value is null if sensitive data can be retrieved for the finding.

" } }, "__listOfUnprocessedAccount" : { @@ -1833,8 +1902,9 @@ "BatchGetCustomDataIdentifiersResponse$NotFoundIdentifierIds" : "

An array of custom data identifier IDs, one for each custom data identifier that was specified in the request but doesn't correlate to an existing custom data identifier.

", "BucketCriteriaAdditionalProperties$Eq" : "

The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.

", "BucketCriteriaAdditionalProperties$Neq" : "

The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.

", + "CreateClassificationJobRequest$AllowListIds" : "

An array of unique identifiers, one for each allow list for the job to use when it analyzes data.

", "CreateClassificationJobRequest$CustomDataIdentifierIds" : "

An array of unique identifiers, one for each custom data identifier for the job to use when it analyzes data. To use only managed data identifiers, don't specify a value for this property and specify a value other than NONE for the managedDataIdentifierSelector property.

", - "CreateClassificationJobRequest$ManagedDataIdentifierIds" : "

An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).

To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.

", + "CreateClassificationJobRequest$ManagedDataIdentifierIds" : "

An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).

To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.

", "CreateCustomDataIdentifierRequest$IgnoreWords" : "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.

", "CreateCustomDataIdentifierRequest$Keywords" : "

An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.

", "CreateInvitationsRequest$AccountIds" : "

An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.

", @@ -1843,7 +1913,8 @@ "CriterionAdditionalProperties$Neq" : "

The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Macie uses OR logic to join the values.

", "DeclineInvitationsRequest$AccountIds" : "

An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to decline.

", "DeleteInvitationsRequest$AccountIds" : "

An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to delete.

", - "DescribeClassificationJobResponse$CustomDataIdentifierIds" : "

An array of unique identifiers, one for each custom data identifier that the job uses to analyze data. This value is null if the job uses only managed data identifiers to analyze data.

", + "DescribeClassificationJobResponse$AllowListIds" : "

An array of unique identifiers, one for each allow list that the job uses when it analyzes data.

", + "DescribeClassificationJobResponse$CustomDataIdentifierIds" : "

An array of unique identifiers, one for each custom data identifier that the job uses when it analyzes data. This value is null if the job uses only managed data identifiers to analyze data.

", "DescribeClassificationJobResponse$ManagedDataIdentifierIds" : "

An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector). This value is null if the job's managed data identifier selection type is ALL or the job uses only custom data identifiers (customDataIdentifierIds) to analyze data.

", "GetCustomDataIdentifierResponse$IgnoreWords" : "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.

", "GetCustomDataIdentifierResponse$Keywords" : "

An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.

", @@ -1971,6 +2042,7 @@ "ClassificationResultStatus$Code" : "

The status of the finding. Possible values are:

", "ClassificationResultStatus$Reason" : "

A brief description of the status of the finding. This value is null if the status (code) of the finding is COMPLETE.

Amazon Macie uses this value to notify you of any errors, warnings, or considerations that might impact your analysis of the finding and the affected S3 object. Possible values are:

For information about sensitive data discovery quotas for files, see Amazon Macie quotas in the Amazon Macie User Guide.

", "ConflictException$Message" : "

The explanation of the error that occurred.

", + "CreateAllowListRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", "CreateClassificationJobRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", "CreateClassificationJobRequest$Description" : "

A custom description of the job. The description can contain as many as 200 characters.

", "CreateClassificationJobRequest$Name" : "

A custom name for the job. The name can contain as many as 500 characters.

", @@ -2060,6 +2132,7 @@ "JobSummary$Name" : "

The custom name of the job.

", "KeyValuePair$Key" : "

One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.

", "KeyValuePair$Value" : "

One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be an empty string.

", + "ListAllowListsResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", "ListClassificationJobsRequest$NextToken" : "

The nextToken string that specifies which page of results to return in a paginated response.

", "ListClassificationJobsResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", "ListCustomDataIdentifiersRequest$NextToken" : "

The nextToken string that specifies which page of results to return in a paginated response.

", @@ -2119,7 +2192,7 @@ "TestCustomDataIdentifierRequest$Regex" : "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

", "TestCustomDataIdentifierRequest$SampleText" : "

The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.

", "ThrottlingException$Message" : "

The explanation of the error that occurred.

", - "UnprocessableEntityException$Message" : "

The type of error that occurred and prevented Amazon Macie from retrieving occurrences of sensitive data reported by the finding. Possible values are:

", + "UnprocessableEntityException$Message" : "

The type of error that occurred and prevented Amazon Macie from retrieving occurrences of sensitive data reported by the finding. Possible values are:

", "UnprocessedAccount$AccountId" : "

The Amazon Web Services account ID for the account that the request applies to.

", "UnprocessedAccount$ErrorMessage" : "

The reason why the request hasn't been processed.

", "UpdateFindingsFilterRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", @@ -2138,21 +2211,73 @@ "__listOf__string$member" : null } }, + "__stringMin1Max1024PatternSS" : { + "base" : null, + "refs" : { + "AllowListStatus$Description" : "

A brief description of the status of the allow list. Amazon Macie uses this value to provide additional information about an error that occurred when Macie tried to access and use the list's criteria.

", + "S3WordsList$ObjectKey" : "

The full name (key) of the object.

" + } + }, "__stringMin1Max128" : { "base" : null, "refs" : { "DetectedDataDetails$Value" : "

An occurrence of the specified type of sensitive data. Each occurrence can contain 1-128 characters.

" } }, + "__stringMin1Max128Pattern" : { + "base" : null, + "refs" : { + "AllowListSummary$Name" : "

The custom name of the allow list.

", + "CreateAllowListRequest$Name" : "

A custom name for the allow list. The name can contain as many as 128 characters.

", + "GetAllowListResponse$Name" : "

The custom name of the allow list.

", + "UpdateAllowListRequest$Name" : "

A custom name for the allow list. The name can contain as many as 128 characters.

" + } + }, "__stringMin1Max2048" : { "base" : null, "refs" : { "RevealConfiguration$KmsKeyId" : "

The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved. The key must be an existing, customer managed, symmetric encryption key that's in the same Amazon Web Services Region as the Amazon Macie account.

If this value specifies an alias, it must include the following prefix: alias/. If this value specifies a key that's owned by another Amazon Web Services account, it must specify the ARN of the key or the ARN of the key's alias.

" } }, + "__stringMin1Max512PatternSS" : { + "base" : null, + "refs" : { + "AllowListCriteria$Regex" : "

The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.

", + "AllowListSummary$Description" : "

The custom description of the allow list.

", + "CreateAllowListRequest$Description" : "

A custom description of the allow list. The description can contain as many as 512 characters.

", + "GetAllowListResponse$Description" : "

The custom description of the allow list.

", + "UpdateAllowListRequest$Description" : "

A custom description of the allow list. The description can contain as many as 512 characters.

" + } + }, + "__stringMin22Max22PatternAZ0922" : { + "base" : null, + "refs" : { + "AllowListSummary$Id" : "

The unique identifier for the allow list.

", + "CreateAllowListResponse$Id" : "

The unique identifier for the allow list.

", + "GetAllowListResponse$Id" : "

The unique identifier for the allow list.

", + "UpdateAllowListResponse$Id" : "

The unique identifier for the allow list.

" + } + }, + "__stringMin3Max255PatternAZaZ093255" : { + "base" : null, + "refs" : { + "S3WordsList$BucketName" : "

The full name of the S3 bucket that contains the object.

" + } + }, + "__stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922" : { + "base" : null, + "refs" : { + "AllowListSummary$Arn" : "

The Amazon Resource Name (ARN) of the allow list.

", + "CreateAllowListResponse$Arn" : "

The Amazon Resource Name (ARN) of the allow list.

", + "GetAllowListResponse$Arn" : "

The Amazon Resource Name (ARN) of the allow list.

", + "UpdateAllowListResponse$Arn" : "

The Amazon Resource Name (ARN) of the allow list.

" + } + }, "__timestampIso8601" : { "base" : null, "refs" : { + "AllowListSummary$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.

", + "AllowListSummary$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.

", "ApiCallDetails$FirstSeen" : "

The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.

", "ApiCallDetails$LastSeen" : "

The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.

", "BatchGetCustomDataIdentifierSummary$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

", @@ -2163,6 +2288,8 @@ "DescribeClassificationJobResponse$LastRunTime" : "

The date and time, in UTC and extended ISO 8601 format, when the job started. If the job is a recurring job, this value indicates when the most recent run started or, if the job hasn't run yet, when the job was created.

", "Finding$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the finding was created.

", "Finding$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

", + "GetAllowListResponse$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.

", + "GetAllowListResponse$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.

", "GetBucketStatisticsResponse$LastUpdated" : "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved both bucket and object metadata from Amazon S3 for the buckets.

", "GetCustomDataIdentifierResponse$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

", "GetMacieSessionResponse$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.

", diff --git a/models/apis/sso-admin/2020-07-20/docs-2.json b/models/apis/sso-admin/2020-07-20/docs-2.json index 3fa8096aaa..11c38700f8 100644 --- a/models/apis/sso-admin/2020-07-20/docs-2.json +++ b/models/apis/sso-admin/2020-07-20/docs-2.json @@ -1,48 +1,48 @@ { "version": "2.0", - "service": "

Amazon Web Services Single Sign On helps you securely create, or connect, your workforce identities and manage their access centrally across Amazon Web Services accounts and applications. Amazon Web Services SSO is the recommended approach for workforce authentication and authorization in Amazon Web Services, for organizations of any size and type.

Although Amazon Web Services Single Sign-On was renamed, the sso and identitystore API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see Amazon Web Services SSO rename.

This reference guide provides information on single sign-on operations which could be used for access management of Amazon Web Services accounts. For information about Amazon Web Services SSO features, see the Amazon Web Services SSO User Guide.

Many operations in the Amazon Web Services SSO APIs rely on identifiers for users and groups, known as principals. For more information about how to work with principals and principal IDs in Amazon Web Services SSO, see the Identity Store API Reference.

Amazon Web Services provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a convenient way to create programmatic access to Amazon Web Services SSO and other Amazon Web Services services. For more information about the Amazon Web Services SDKs, including how to download and install them, see Tools for Amazon Web Services.

", + "service": "

AWS IAM Identity Center (successor to AWS Single Sign-On) helps you securely create, or connect, your workforce identities and manage their access centrally across AWS accounts and applications. IAM Identity Center is the recommended approach for workforce authentication and authorization in AWS, for organizations of any size and type.

Although AWS Single Sign-On was renamed, the sso and identitystore API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see IAM Identity Center rename.

This reference guide provides information on single sign-on operations which could be used for access management of AWS accounts. For information about IAM Identity Center features, see the IAM Identity Center User Guide.

Many operations in the IAM Identity Center APIs rely on identifiers for users and groups, known as principals. For more information about how to work with principals and principal IDs in IAM Identity Center, see the Identity Store API Reference.

AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a convenient way to create programmatic access to IAM Identity Center and other AWS services. For more information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

", "operations": { "AttachCustomerManagedPolicyReferenceToPermissionSet": "

Attaches the specified customer managed policy to the specified PermissionSet.

", - "AttachManagedPolicyToPermissionSet": "

Attaches an Amazon Web Services managed policy ARN to a permission set.

If the permission set is already referenced by one or more account assignments, you will need to call ProvisionPermissionSet after this operation. Calling ProvisionPermissionSet applies the corresponding IAM policy updates to all assigned accounts.

", - "CreateAccountAssignment": "

Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.

The term principal here refers to a user or group that is defined in Amazon Web Services SSO.

As part of a successful CreateAccountAssignment call, the specified permission set will automatically be provisioned to the account in the form of an IAM policy. That policy is attached to the IAM role created in Amazon Web Services SSO. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must call ProvisionPermissionSet to make these updates.

After a successful response, call DescribeAccountAssignmentCreationStatus to describe the status of an assignment creation request.

", - "CreateInstanceAccessControlAttributeConfiguration": "

Enables the attributes-based access control (ABAC) feature for the specified Amazon Web Services SSO instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see Attribute-Based Access Control in the Amazon Web Services SSO User Guide.

After a successful response, call DescribeInstanceAccessControlAttributeConfiguration to validate that InstanceAccessControlAttributeConfiguration was created.

", - "CreatePermissionSet": "

Creates a permission set within a specified Amazon Web Services SSO instance.

To grant users and groups access to Amazon Web Services account resources, use CreateAccountAssignment .

", - "DeleteAccountAssignment": "

Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.

After a successful response, call DescribeAccountAssignmentCreationStatus to describe the status of an assignment deletion request.

", + "AttachManagedPolicyToPermissionSet": "

Attaches an AWS managed policy ARN to a permission set.

If the permission set is already referenced by one or more account assignments, you will need to call ProvisionPermissionSet after this operation. Calling ProvisionPermissionSet applies the corresponding IAM policy updates to all assigned accounts.

", + "CreateAccountAssignment": "

Assigns access to a principal for a specified AWS account using a specified permission set.

The term principal here refers to a user or group that is defined in IAM Identity Center.

As part of a successful CreateAccountAssignment call, the specified permission set will automatically be provisioned to the account in the form of an IAM policy. That policy is attached to the IAM role created in IAM Identity Center. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must call ProvisionPermissionSet to make these updates.

After a successful response, call DescribeAccountAssignmentCreationStatus to describe the status of an assignment creation request.

", + "CreateInstanceAccessControlAttributeConfiguration": "

Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.

After a successful response, call DescribeInstanceAccessControlAttributeConfiguration to validate that InstanceAccessControlAttributeConfiguration was created.

", + "CreatePermissionSet": "

Creates a permission set within a specified IAM Identity Center instance.

To grant users and groups access to AWS account resources, use CreateAccountAssignment .

", + "DeleteAccountAssignment": "

Deletes a principal's access from a specified AWS account using a specified permission set.

After a successful response, call DescribeAccountAssignmentCreationStatus to describe the status of an assignment deletion request.

", "DeleteInlinePolicyFromPermissionSet": "

Deletes the inline policy from a specified permission set.

", - "DeleteInstanceAccessControlAttributeConfiguration": "

Disables the attributes-based access control (ABAC) feature for the specified Amazon Web Services SSO instance and deletes all of the attribute mappings that have been configured. Once deleted, any attributes that are received from an identity source and any custom attributes you have previously configured will not be passed. For more information about ABAC, see Attribute-Based Access Control in the Amazon Web Services SSO User Guide.

", + "DeleteInstanceAccessControlAttributeConfiguration": "

Disables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance and deletes all of the attribute mappings that have been configured. Once deleted, any attributes that are received from an identity source and any custom attributes you have previously configured will not be passed. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.

", "DeletePermissionSet": "

Deletes the specified permission set.

", "DeletePermissionsBoundaryFromPermissionSet": "

Deletes the permissions boundary from a specified PermissionSet.

", "DescribeAccountAssignmentCreationStatus": "

Describes the status of the assignment creation request.

", "DescribeAccountAssignmentDeletionStatus": "

Describes the status of the assignment deletion request.

", - "DescribeInstanceAccessControlAttributeConfiguration": "

Returns the list of Amazon Web Services SSO identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified Amazon Web Services SSO instance. This will not return attributes configured and sent by an external identity provider. For more information about ABAC, see Attribute-Based Access Control in the Amazon Web Services SSO User Guide.

", + "DescribeInstanceAccessControlAttributeConfiguration": "

Returns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center instance. This will not return attributes configured and sent by an external identity provider. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.

", "DescribePermissionSet": "

Gets the details of the permission set.

", "DescribePermissionSetProvisioningStatus": "

Describes the status for the given permission set provisioning request.

", "DetachCustomerManagedPolicyReferenceFromPermissionSet": "

Detaches the specified customer managed policy from the specified PermissionSet.

", - "DetachManagedPolicyFromPermissionSet": "

Detaches the attached Amazon Web Services managed policy ARN from the specified permission set.

", + "DetachManagedPolicyFromPermissionSet": "

Detaches the attached AWS managed policy ARN from the specified permission set.

", "GetInlinePolicyForPermissionSet": "

Obtains the inline policy assigned to the permission set.

", "GetPermissionsBoundaryForPermissionSet": "

Obtains the permissions boundary for a specified PermissionSet.

", - "ListAccountAssignmentCreationStatus": "

Lists the status of the Amazon Web Services account assignment creation requests for a specified Amazon Web Services SSO instance.

", - "ListAccountAssignmentDeletionStatus": "

Lists the status of the Amazon Web Services account assignment deletion requests for a specified Amazon Web Services SSO instance.

", - "ListAccountAssignments": "

Lists the assignee of the specified Amazon Web Services account with the specified permission set.

", - "ListAccountsForProvisionedPermissionSet": "

Lists all the Amazon Web Services accounts where the specified permission set is provisioned.

", + "ListAccountAssignmentCreationStatus": "

Lists the status of the AWS account assignment creation requests for a specified IAM Identity Center instance.

", + "ListAccountAssignmentDeletionStatus": "

Lists the status of the AWS account assignment deletion requests for a specified IAM Identity Center instance.

", + "ListAccountAssignments": "

Lists the assignee of the specified AWS account with the specified permission set.

", + "ListAccountsForProvisionedPermissionSet": "

Lists all the AWS accounts where the specified permission set is provisioned.

", "ListCustomerManagedPolicyReferencesInPermissionSet": "

Lists all customer managed policies attached to a specified PermissionSet.

", - "ListInstances": "

Lists the Amazon Web Services SSO instances that the caller has access to.

", - "ListManagedPoliciesInPermissionSet": "

Lists the Amazon Web Services managed policy that is attached to a specified permission set.

", - "ListPermissionSetProvisioningStatus": "

Lists the status of the permission set provisioning requests for a specified Amazon Web Services SSO instance.

", - "ListPermissionSets": "

Lists the PermissionSets in an Amazon Web Services SSO instance.

", - "ListPermissionSetsProvisionedToAccount": "

Lists all the permission sets that are provisioned to a specified Amazon Web Services account.

", + "ListInstances": "

Lists the IAM Identity Center instances that the caller has access to.

", + "ListManagedPoliciesInPermissionSet": "

Lists the AWS managed policy that is attached to a specified permission set.

", + "ListPermissionSetProvisioningStatus": "

Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.

", + "ListPermissionSets": "

Lists the PermissionSets in an IAM Identity Center instance.

", + "ListPermissionSetsProvisionedToAccount": "

Lists all the permission sets that are provisioned to a specified AWS account.

", "ListTagsForResource": "

Lists the tags that are attached to a specified resource.

", "ProvisionPermissionSet": "

The process by which a specified permission set is provisioned to the specified target.

", "PutInlinePolicyToPermissionSet": "

Attaches an inline policy to a permission set.

If the permission set is already referenced by one or more account assignments, you will need to call ProvisionPermissionSet after this action to apply the corresponding IAM policy updates to all assigned accounts.

", - "PutPermissionsBoundaryToPermissionSet": "

Attaches an Amazon Web Services managed or customer managed policy to the specified PermissionSet as a permissions boundary.

", + "PutPermissionsBoundaryToPermissionSet": "

Attaches an AWS managed or customer managed policy to the specified PermissionSet as a permissions boundary.

", "TagResource": "

Associates a set of tags with a specified resource.

", "UntagResource": "

Disassociates a set of tags from a specified resource.

", - "UpdateInstanceAccessControlAttributeConfiguration": "

Updates the Amazon Web Services SSO identity store attributes that you can use with the Amazon Web Services SSO instance for attributes-based access control (ABAC). When using an external identity provider as an identity source, you can pass attributes through the SAML assertion as an alternative to configuring attributes from the Amazon Web Services SSO identity store. If a SAML assertion passes any of these attributes, Amazon Web Services SSO replaces the attribute value with the value from the Amazon Web Services SSO identity store. For more information about ABAC, see Attribute-Based Access Control in the Amazon Web Services SSO User Guide.

", + "UpdateInstanceAccessControlAttributeConfiguration": "

Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center instance for attributes-based access control (ABAC). When using an external identity provider as an identity source, you can pass attributes through the SAML assertion as an alternative to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center replaces the attribute value with the value from the IAM Identity Center identity store. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.

", "UpdatePermissionSet": "

Updates an existing permission set.

" }, "shapes": { "AccessControlAttribute": { - "base": "

These are Amazon Web Services SSO identity store attributes that you can configure for use in attributes-based access control (ABAC). You can create permissions policies that determine who can access your Amazon Web Services resources based upon the configured attribute values. When you enable ABAC and specify AccessControlAttributes, Amazon Web Services SSO passes the attribute values of the authenticated user into IAM for use in policy evaluation.

", + "base": "

These are IAM Identity Center identity store attributes that you can configure for use in attributes-based access control (ABAC). You can create permissions policies that determine who can access your AWS resources based upon the configured attribute values. When you enable ABAC and specify AccessControlAttributes, IAM Identity Center passes the attribute values of the authenticated user into IAM for use in policy evaluation.

", "refs": { "AccessControlAttributeList$member": null } @@ -50,17 +50,17 @@ "AccessControlAttributeKey": { "base": null, "refs": { - "AccessControlAttribute$Key": "

The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in Amazon Web Services SSO.

" + "AccessControlAttribute$Key": "

The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in IAM Identity Center.

" } }, "AccessControlAttributeList": { "base": null, "refs": { - "InstanceAccessControlAttributeConfiguration$AccessControlAttributes": "

Lists the attributes that are configured for ABAC in the specified Amazon Web Services SSO instance.

" + "InstanceAccessControlAttributeConfiguration$AccessControlAttributes": "

Lists the attributes that are configured for ABAC in the specified IAM Identity Center instance.

" } }, "AccessControlAttributeValue": { - "base": "

The value used for mapping a specified attribute to an identity source. For more information, see Attribute mappings in the Amazon Web Services SSO User Guide.

", + "base": "

The value used for mapping a specified attribute to an identity source. For more information, see Attribute mappings in the IAM Identity Center User Guide.

", "refs": { "AccessControlAttribute$Value": "

The value used for mapping a specified attribute to an identity source.

" } @@ -74,7 +74,7 @@ "AccessControlAttributeValueSourceList": { "base": null, "refs": { - "AccessControlAttributeValue$Source": "

The identity source to use when mapping a specified attribute to Amazon Web Services SSO.

" + "AccessControlAttributeValue$Source": "

The identity source to use when mapping a specified attribute to IAM Identity Center.

" } }, "AccessDeniedException": { @@ -89,7 +89,7 @@ } }, "AccountAssignment": { - "base": "

The assignment that indicates a principal's limited access to a specified Amazon Web Services account with a specified permission set.

The term principal here refers to a user or group that is defined in Amazon Web Services SSO.

", + "base": "

The assignment that indicates a principal's limited access to a specified AWS account with a specified permission set.

The term principal here refers to a user or group that is defined in IAM Identity Center.

", "refs": { "AccountAssignmentList$member": null } @@ -97,7 +97,7 @@ "AccountAssignmentList": { "base": null, "refs": { - "ListAccountAssignmentsResponse$AccountAssignments": "

The list of assignments that match the input Amazon Web Services account and permission set.

" + "ListAccountAssignmentsResponse$AccountAssignments": "

The list of assignments that match the input AWS account and permission set.

" } }, "AccountAssignmentOperationStatus": { @@ -125,16 +125,16 @@ "AccountId": { "base": null, "refs": { - "AccountAssignment$AccountId": "

The identifier of the Amazon Web Services account.

", + "AccountAssignment$AccountId": "

The identifier of the AWS account.

", "AccountList$member": null, - "ListPermissionSetsProvisionedToAccountRequest$AccountId": "

The identifier of the Amazon Web Services account from which to list the assignments.

", - "PermissionSetProvisioningStatus$AccountId": "

The identifier of the Amazon Web Services account from which to list the assignments.

" + "ListPermissionSetsProvisionedToAccountRequest$AccountId": "

The identifier of the AWS account from which to list the assignments.

", + "PermissionSetProvisioningStatus$AccountId": "

The identifier of the AWS account from which to list the assignments.

" } }, "AccountList": { "base": null, "refs": { - "ListAccountsForProvisionedPermissionSetResponse$AccountIds": "

The list of Amazon Web Services AccountIds.

" + "ListAccountsForProvisionedPermissionSetResponse$AccountIds": "

The list of AWS AccountIds.

" } }, "AttachCustomerManagedPolicyReferenceToPermissionSetRequest": { @@ -158,7 +158,7 @@ } }, "AttachedManagedPolicy": { - "base": "

A structure that stores the details of the Amazon Web Services managed policy.

", + "base": "

A structure that stores the details of the AWS managed policy.

", "refs": { "AttachedManagedPolicyList$member": null } @@ -211,12 +211,12 @@ } }, "CustomerManagedPolicyReference": { - "base": "

Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.

", + "base": "

Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.

", "refs": { - "AttachCustomerManagedPolicyReferenceToPermissionSetRequest$CustomerManagedPolicyReference": "

Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.

", + "AttachCustomerManagedPolicyReferenceToPermissionSetRequest$CustomerManagedPolicyReference": "

Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.

", "CustomerManagedPolicyReferenceList$member": null, - "DetachCustomerManagedPolicyReferenceFromPermissionSetRequest$CustomerManagedPolicyReference": "

Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.

", - "PermissionsBoundary$CustomerManagedPolicyReference": "

Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.

" + "DetachCustomerManagedPolicyReferenceFromPermissionSetRequest$CustomerManagedPolicyReference": "

Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.

", + "PermissionsBoundary$CustomerManagedPolicyReference": "

Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.

" } }, "CustomerManagedPolicyReferenceList": { @@ -386,14 +386,14 @@ "Id": { "base": null, "refs": { - "InstanceMetadata$IdentityStoreId": "

The identifier of the identity store that is connected to the Amazon Web Services SSO instance.

" + "InstanceMetadata$IdentityStoreId": "

The identifier of the identity store that is connected to the IAM Identity Center instance.

" } }, "InstanceAccessControlAttributeConfiguration": { "base": "

Specifies the attributes to add to your attribute-based access control (ABAC) configuration.

", "refs": { - "CreateInstanceAccessControlAttributeConfigurationRequest$InstanceAccessControlAttributeConfiguration": "

Specifies the Amazon Web Services SSO identity store attributes to add to your ABAC configuration. When using an external identity provider as an identity source, you can pass attributes through the SAML assertion. Doing so provides an alternative to configuring attributes from the Amazon Web Services SSO identity store. If a SAML assertion passes any of these attributes, Amazon Web Services SSO will replace the attribute value with the value from the Amazon Web Services SSO identity store.

", - "DescribeInstanceAccessControlAttributeConfigurationResponse$InstanceAccessControlAttributeConfiguration": "

Gets the list of Amazon Web Services SSO identity store attributes that have been added to your ABAC configuration.

", + "CreateInstanceAccessControlAttributeConfigurationRequest$InstanceAccessControlAttributeConfiguration": "

Specifies the IAM Identity Center identity store attributes to add to your ABAC configuration. When using an external identity provider as an identity source, you can pass attributes through the SAML assertion. Doing so provides an alternative to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center will replace the attribute value with the value from the IAM Identity Center identity store.

", + "DescribeInstanceAccessControlAttributeConfigurationResponse$InstanceAccessControlAttributeConfiguration": "

Gets the list of IAM Identity Center identity store attributes that have been added to your ABAC configuration.

", "UpdateInstanceAccessControlAttributeConfigurationRequest$InstanceAccessControlAttributeConfiguration": "

Updates the attributes for your ABAC configuration.

" } }, @@ -412,53 +412,53 @@ "InstanceArn": { "base": null, "refs": { - "AttachCustomerManagedPolicyReferenceToPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "AttachManagedPolicyToPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "CreateAccountAssignmentRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "CreateInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "CreatePermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "DeleteAccountAssignmentRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "DeleteInlinePolicyFromPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "DeleteInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "DeletePermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "DeletePermissionsBoundaryFromPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "DescribeAccountAssignmentCreationStatusRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "DescribeAccountAssignmentDeletionStatusRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "DescribeInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "DescribePermissionSetProvisioningStatusRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "DescribePermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "DetachCustomerManagedPolicyReferenceFromPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "DetachManagedPolicyFromPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "GetInlinePolicyForPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "GetPermissionsBoundaryForPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "InstanceMetadata$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ListAccountAssignmentCreationStatusRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ListAccountAssignmentDeletionStatusRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ListAccountAssignmentsRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ListAccountsForProvisionedPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ListCustomerManagedPolicyReferencesInPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "ListManagedPoliciesInPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ListPermissionSetProvisioningStatusRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ListPermissionSetsProvisionedToAccountRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ListPermissionSetsRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ListTagsForResourceRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "ProvisionPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "PutInlinePolicyToPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "PutPermissionsBoundaryToPermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "TagResourceRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "UntagResourceRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "UpdateInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed.

", - "UpdatePermissionSetRequest$InstanceArn": "

The ARN of the Amazon Web Services SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

" + "AttachCustomerManagedPolicyReferenceToPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "AttachManagedPolicyToPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "CreateAccountAssignmentRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "CreateInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "CreatePermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "DeleteAccountAssignmentRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "DeleteInlinePolicyFromPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "DeleteInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "DeletePermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "DeletePermissionsBoundaryFromPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "DescribeAccountAssignmentCreationStatusRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "DescribeAccountAssignmentDeletionStatusRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "DescribeInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "DescribePermissionSetProvisioningStatusRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "DescribePermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "DetachCustomerManagedPolicyReferenceFromPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "DetachManagedPolicyFromPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "GetInlinePolicyForPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "GetPermissionsBoundaryForPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "InstanceMetadata$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ListAccountAssignmentCreationStatusRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ListAccountAssignmentDeletionStatusRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ListAccountAssignmentsRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ListAccountsForProvisionedPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ListCustomerManagedPolicyReferencesInPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "ListManagedPoliciesInPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ListPermissionSetProvisioningStatusRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ListPermissionSetsProvisionedToAccountRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ListPermissionSetsRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ListTagsForResourceRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "ProvisionPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "PutInlinePolicyToPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "PutPermissionsBoundaryToPermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "TagResourceRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "UntagResourceRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "UpdateInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed.

", + "UpdatePermissionSetRequest$InstanceArn": "

The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

" } }, "InstanceList": { "base": null, "refs": { - "ListInstancesResponse$Instances": "

Lists the Amazon Web Services SSO instances that the caller has access to.

" + "ListInstancesResponse$Instances": "

Lists the IAM Identity Center instances that the caller has access to.

" } }, "InstanceMetadata": { - "base": "

Provides information about the Amazon Web Services SSO instance.

", + "base": "

Provides information about the IAM Identity Center instance.

", "refs": { "InstanceList$member": null } @@ -587,10 +587,10 @@ "ManagedPolicyArn": { "base": null, "refs": { - "AttachManagedPolicyToPermissionSetRequest$ManagedPolicyArn": "

The Amazon Web Services managed policy ARN to be attached to a permission set.

", - "AttachedManagedPolicy$Arn": "

The ARN of the Amazon Web Services managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "DetachManagedPolicyFromPermissionSetRequest$ManagedPolicyArn": "

The Amazon Web Services managed policy ARN to be detached from a permission set.

", - "PermissionsBoundary$ManagedPolicyArn": "

The Amazon Web Services managed policy ARN that you want to attach to a permission set as a permissions boundary.

" + "AttachManagedPolicyToPermissionSetRequest$ManagedPolicyArn": "

The AWS managed policy ARN to be attached to a permission set.

", + "AttachedManagedPolicy$Arn": "

The ARN of the AWS managed policy. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "DetachManagedPolicyFromPermissionSetRequest$ManagedPolicyArn": "

The AWS managed policy ARN to be detached from a permission set.

", + "PermissionsBoundary$ManagedPolicyArn": "

The AWS managed policy ARN that you want to attach to a permission set as a permissions boundary.

" } }, "ManagedPolicyName": { @@ -602,7 +602,7 @@ "ManagedPolicyPath": { "base": null, "refs": { - "CustomerManagedPolicyReference$Path": "

The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is /. For more information, see Friendly names and paths in the Identity and Access Management User Guide.

" + "CustomerManagedPolicyReference$Path": "

The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is /. For more information, see Friendly names and paths in the IAM User Guide.

" } }, "MaxResults": { @@ -623,7 +623,7 @@ "Name": { "base": null, "refs": { - "AttachedManagedPolicy$Name": "

The name of the Amazon Web Services managed policy.

" + "AttachedManagedPolicy$Name": "

The name of the AWS managed policy.

" } }, "OperationStatusFilter": { @@ -637,15 +637,15 @@ "PermissionSet": { "base": "

An entity that contains IAM policies.

", "refs": { - "CreatePermissionSetResponse$PermissionSet": "

Defines the level of access on an Amazon Web Services account.

", - "DescribePermissionSetResponse$PermissionSet": "

Describes the level of access on an Amazon Web Services account.

" + "CreatePermissionSetResponse$PermissionSet": "

Defines the level of access on an AWS account.

", + "DescribePermissionSetResponse$PermissionSet": "

Describes the level of access on an AWS account.

" } }, "PermissionSetArn": { "base": null, "refs": { - "AccountAssignment$PermissionSetArn": "

The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", - "AccountAssignmentOperationStatus$PermissionSetArn": "

The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", + "AccountAssignment$PermissionSetArn": "

The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", + "AccountAssignmentOperationStatus$PermissionSetArn": "

The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", "AttachCustomerManagedPolicyReferenceToPermissionSetRequest$PermissionSetArn": "

The ARN of the PermissionSet.

", "AttachManagedPolicyToPermissionSetRequest$PermissionSetArn": "

The ARN of the PermissionSet that the managed policy should be attached to.

", "CreateAccountAssignmentRequest$PermissionSetArn": "

The ARN of the permission set that the admin wants to grant the principal access to.

", @@ -659,12 +659,12 @@ "GetInlinePolicyForPermissionSetRequest$PermissionSetArn": "

The ARN of the permission set.

", "GetPermissionsBoundaryForPermissionSetRequest$PermissionSetArn": "

The ARN of the PermissionSet.

", "ListAccountAssignmentsRequest$PermissionSetArn": "

The ARN of the permission set from which to list assignments.

", - "ListAccountsForProvisionedPermissionSetRequest$PermissionSetArn": "

The ARN of the PermissionSet from which the associated Amazon Web Services accounts will be listed.

", + "ListAccountsForProvisionedPermissionSetRequest$PermissionSetArn": "

The ARN of the PermissionSet from which the associated AWS accounts will be listed.

", "ListCustomerManagedPolicyReferencesInPermissionSetRequest$PermissionSetArn": "

The ARN of the PermissionSet.

", "ListManagedPoliciesInPermissionSetRequest$PermissionSetArn": "

The ARN of the PermissionSet whose managed policies will be listed.

", - "PermissionSet$PermissionSetArn": "

The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", + "PermissionSet$PermissionSetArn": "

The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", "PermissionSetList$member": null, - "PermissionSetProvisioningStatus$PermissionSetArn": "

The ARN of the permission set that is being provisioned. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", + "PermissionSetProvisioningStatus$PermissionSetArn": "

The ARN of the permission set that is being provisioned. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", "ProvisionPermissionSetRequest$PermissionSetArn": "

The ARN of the permission set.

", "PutInlinePolicyToPermissionSetRequest$PermissionSetArn": "

The ARN of the permission set.

", "PutPermissionsBoundaryToPermissionSetRequest$PermissionSetArn": "

The ARN of the PermissionSet.

", @@ -682,8 +682,8 @@ "PermissionSetList": { "base": null, "refs": { - "ListPermissionSetsProvisionedToAccountResponse$PermissionSets": "

Defines the level of access that an Amazon Web Services account has.

", - "ListPermissionSetsResponse$PermissionSets": "

Defines the level of access on an Amazon Web Services account.

" + "ListPermissionSetsProvisionedToAccountResponse$PermissionSets": "

Defines the level of access that an AWS account has.

", + "ListPermissionSetsResponse$PermissionSets": "

Defines the level of access on an AWS account.

" } }, "PermissionSetName": { @@ -720,7 +720,7 @@ } }, "PermissionsBoundary": { - "base": "

Specifies the configuration of the Amazon Web Services managed or customer managed policy that you want to set as a permissions boundary. Specify either CustomerManagedPolicyReference to use the name and path of a customer managed policy, or ManagedPolicyArn to use the ARN of an Amazon Web Services managed policy. A permissions boundary represents the maximum permissions that any policy can grant your role. For more information, see Permissions boundaries for IAM entities in the Identity and Access Management User Guide.

Policies used as permissions boundaries don't provide permissions. You must also attach an IAM policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the Identity and Access Management User Guide.

", + "base": "

Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary. Specify either CustomerManagedPolicyReference to use the name and path of a customer managed policy, or ManagedPolicyArn to use the ARN of an AWS managed policy. A permissions boundary represents the maximum permissions that any policy can grant your role. For more information, see Permissions boundaries for IAM entities in the IAM User Guide.

Policies used as permissions boundaries don't provide permissions. You must also attach an IAM policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.

", "refs": { "GetPermissionsBoundaryForPermissionSetResponse$PermissionsBoundary": "

The permissions boundary attached to the specified permission set.

", "PutPermissionsBoundaryToPermissionSetRequest$PermissionsBoundary": "

The permissions boundary that you want to attach to a PermissionSet.

" @@ -729,10 +729,10 @@ "PrincipalId": { "base": null, "refs": { - "AccountAssignment$PrincipalId": "

An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.

", - "AccountAssignmentOperationStatus$PrincipalId": "

An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.

", - "CreateAccountAssignmentRequest$PrincipalId": "

An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.

", - "DeleteAccountAssignmentRequest$PrincipalId": "

An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.

" + "AccountAssignment$PrincipalId": "

An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.

", + "AccountAssignmentOperationStatus$PrincipalId": "

An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.

", + "CreateAccountAssignmentRequest$PrincipalId": "

An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.

", + "DeleteAccountAssignmentRequest$PrincipalId": "

An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.

" } }, "PrincipalType": { @@ -763,7 +763,7 @@ "ProvisioningStatus": { "base": null, "refs": { - "ListAccountsForProvisionedPermissionSetRequest$ProvisioningStatus": "

The permission set provisioning status for an Amazon Web Services account.

", + "ListAccountsForProvisionedPermissionSetRequest$ProvisioningStatus": "

The permission set provisioning status for an AWS account.

", "ListPermissionSetsProvisionedToAccountRequest$ProvisioningStatus": "

The status object for the permission set provisioning operation.

" } }, @@ -835,7 +835,7 @@ } }, "Tag": { - "base": "

A set of key-value pairs that are used to manage the resource. Tags can only be applied to permission sets and cannot be applied to corresponding roles that Amazon Web Services SSO creates in Amazon Web Services accounts.

", + "base": "

A set of key-value pairs that are used to manage the resource. Tags can only be applied to permission sets and cannot be applied to corresponding roles that IAM Identity Center creates in AWS accounts.

", "refs": { "TagList$member": null } @@ -888,11 +888,11 @@ "TargetId": { "base": null, "refs": { - "AccountAssignmentOperationStatus$TargetId": "

TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).

", - "CreateAccountAssignmentRequest$TargetId": "

TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).

", - "DeleteAccountAssignmentRequest$TargetId": "

TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).

", - "ListAccountAssignmentsRequest$AccountId": "

The identifier of the Amazon Web Services account from which to list the assignments.

", - "ProvisionPermissionSetRequest$TargetId": "

TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).

" + "AccountAssignmentOperationStatus$TargetId": "

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

", + "CreateAccountAssignmentRequest$TargetId": "

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

", + "DeleteAccountAssignmentRequest$TargetId": "

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

", + "ListAccountAssignmentsRequest$AccountId": "

The identifier of the AWS account from which to list the assignments.

", + "ProvisionPermissionSetRequest$TargetId": "

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

" } }, "TargetType": { diff --git a/models/apis/sso/2019-06-10/docs-2.json b/models/apis/sso/2019-06-10/docs-2.json index 5259d97584..1b9d60ce88 100644 --- a/models/apis/sso/2019-06-10/docs-2.json +++ b/models/apis/sso/2019-06-10/docs-2.json @@ -1,39 +1,39 @@ { "version": "2.0", - "service": "

Amazon Web Services Single Sign On Portal is a web service that makes it easy for you to assign user access to Amazon Web Services SSO resources such as the AWS access portal. Users can get Amazon Web Services account applications and roles assigned to them and get federated into the application.

Although Amazon Web Services Single Sign-On was renamed, the sso and identitystore API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see Amazon Web Services SSO rename.

This reference guide describes the Amazon Web Services SSO Portal operations that you can call programatically and includes detailed information on data types and errors.

Amazon Web Services provides SDKs that consist of libraries and sample code for various programming languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a convenient way to create programmatic access to Amazon Web Services SSO and other Amazon Web Services services. For more information about the Amazon Web Services SDKs, including how to download and install them, see Tools for Amazon Web Services.

", + "service": "

AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles assigned to them and get federated into the application.

Although AWS Single Sign-On was renamed, the sso and identitystore API namespaces will continue to retain their original name for backward compatibility purposes. For more information, see IAM Identity Center rename.

This reference guide describes the IAM Identity Center Portal operations that you can call programatically and includes detailed information on data types and errors.

AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a convenient way to create programmatic access to IAM Identity Center and other AWS services. For more information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

", "operations": { "GetRoleCredentials": "

Returns the STS short-term credentials for a given role name that is assigned to the user.

", - "ListAccountRoles": "

Lists all roles that are assigned to the user for a given Amazon Web Services account.

", - "ListAccounts": "

Lists all Amazon Web Services accounts assigned to the user. These Amazon Web Services accounts are assigned by the administrator of the account. For more information, see Assign User Access in the Amazon Web Services SSO User Guide. This operation returns a paginated response.

", - "Logout": "

Removes the locally stored SSO tokens from the client-side cache and sends an API call to the Amazon Web Services SSO service to invalidate the corresponding server-side Amazon Web Services SSO sign in session.

If a user uses Amazon Web Services SSO to access the AWS CLI, the user’s Amazon Web Services SSO sign in session is used to obtain an IAM session, as specified in the corresponding Amazon Web Services SSO permission set. More specifically, Amazon Web Services SSO assumes an IAM role in the target account on behalf of the user, and the corresponding temporary Amazon Web Services credentials are returned to the client.

After user logout, any existing IAM role sessions that were created by using Amazon Web Services SSO permission sets continue based on the duration configured in the permission set. For more information, see User authentications in the Amazon Web Services SSO User Guide.

" + "ListAccountRoles": "

Lists all roles that are assigned to the user for a given AWS account.

", + "ListAccounts": "

Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the administrator of the account. For more information, see Assign User Access in the IAM Identity Center User Guide. This operation returns a paginated response.

", + "Logout": "

Removes the locally stored SSO tokens from the client-side cache and sends an API call to the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in session.

If a user uses IAM Identity Center to access the AWS CLI, the user’s IAM Identity Center sign in session is used to obtain an IAM session, as specified in the corresponding IAM Identity Center permission set. More specifically, IAM Identity Center assumes an IAM role in the target account on behalf of the user, and the corresponding temporary AWS credentials are returned to the client.

After user logout, any existing IAM role sessions that were created by using IAM Identity Center permission sets continue based on the duration configured in the permission set. For more information, see User authentications in the IAM Identity Center User Guide.

" }, "shapes": { "AccessKeyType": { "base": null, "refs": { - "RoleCredentials$accessKeyId": "

The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to Amazon Web Services Resources in the Amazon Web Services IAM User Guide.

" + "RoleCredentials$accessKeyId": "

The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

" } }, "AccessTokenType": { "base": null, "refs": { - "GetRoleCredentialsRequest$accessToken": "

The token issued by the CreateToken API call. For more information, see CreateToken in the Amazon Web Services SSO OIDC API Reference Guide.

", - "ListAccountRolesRequest$accessToken": "

The token issued by the CreateToken API call. For more information, see CreateToken in the Amazon Web Services SSO OIDC API Reference Guide.

", - "ListAccountsRequest$accessToken": "

The token issued by the CreateToken API call. For more information, see CreateToken in the Amazon Web Services SSO OIDC API Reference Guide.

", - "LogoutRequest$accessToken": "

The token issued by the CreateToken API call. For more information, see CreateToken in the Amazon Web Services SSO OIDC API Reference Guide.

" + "GetRoleCredentialsRequest$accessToken": "

The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

", + "ListAccountRolesRequest$accessToken": "

The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

", + "ListAccountsRequest$accessToken": "

The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

", + "LogoutRequest$accessToken": "

The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.

" } }, "AccountIdType": { "base": null, "refs": { - "AccountInfo$accountId": "

The identifier of the Amazon Web Services account that is assigned to the user.

", - "GetRoleCredentialsRequest$accountId": "

The identifier for the Amazon Web Services account that is assigned to the user.

", - "ListAccountRolesRequest$accountId": "

The identifier for the Amazon Web Services account that is assigned to the user.

", - "RoleInfo$accountId": "

The identifier of the Amazon Web Services account assigned to the user.

" + "AccountInfo$accountId": "

The identifier of the AWS account that is assigned to the user.

", + "GetRoleCredentialsRequest$accountId": "

The identifier for the AWS account that is assigned to the user.

", + "ListAccountRolesRequest$accountId": "

The identifier for the AWS account that is assigned to the user.

", + "RoleInfo$accountId": "

The identifier of the AWS account assigned to the user.

" } }, "AccountInfo": { - "base": "

Provides information about your Amazon Web Services account.

", + "base": "

Provides information about your AWS account.

", "refs": { "AccountListType$member": null } @@ -47,13 +47,13 @@ "AccountNameType": { "base": null, "refs": { - "AccountInfo$accountName": "

The display name of the Amazon Web Services account that is assigned to the user.

" + "AccountInfo$accountName": "

The display name of the AWS account that is assigned to the user.

" } }, "EmailAddressType": { "base": null, "refs": { - "AccountInfo$emailAddress": "

The email address of the Amazon Web Services account that is assigned to the user.

" + "AccountInfo$emailAddress": "

The email address of the AWS account that is assigned to the user.

" } }, "ErrorDescription": { @@ -160,13 +160,13 @@ "SecretAccessKeyType": { "base": null, "refs": { - "RoleCredentials$secretAccessKey": "

The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to Amazon Web Services Resources in the Amazon Web Services IAM User Guide.

" + "RoleCredentials$secretAccessKey": "

The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

" } }, "SessionTokenType": { "base": null, "refs": { - "RoleCredentials$sessionToken": "

The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to Amazon Web Services Resources in the Amazon Web Services IAM User Guide.

" + "RoleCredentials$sessionToken": "

The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

" } }, "TooManyRequestsException": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 61fbea6745..0e85f90e5a 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -71,6 +71,9 @@ "eu-west-3" : { "description" : "Europe (Paris)" }, + "me-central-1" : { + "description" : "Middle East (UAE)" + }, "me-south-1" : { "description" : "Middle East (Bahrain)" }, @@ -154,6 +157,7 @@ "deprecated" : true, "hostname" : "access-analyzer-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -224,6 +228,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -728,6 +733,12 @@ "deprecated" : true, "hostname" : "ecr-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { + "credentialScope" : { + "region" : "me-central-1" + }, + "hostname" : "api.ecr.me-central-1.amazonaws.com" + }, "me-south-1" : { "credentialScope" : { "region" : "me-south-1" @@ -1131,19 +1142,81 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, - "ca-central-1" : { }, + "ap-southeast-3" : { }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "apigateway-fips.ca-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-north-1" : { }, "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "deprecated" : true, + "hostname" : "apigateway-fips.ca-central-1.amazonaws.com" + }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "apigateway-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "apigateway-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "apigateway-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "apigateway-fips.us-west-2.amazonaws.com" + }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "us-east-1" : { + "variants" : [ { + "hostname" : "apigateway-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "apigateway-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "apigateway-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "apigateway-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "app-integrations" : { @@ -1178,6 +1251,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -1252,6 +1326,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -1670,6 +1745,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -2099,6 +2175,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -2264,6 +2341,7 @@ "deprecated" : true, "hostname" : "cloudtrail-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -2493,6 +2571,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -3101,6 +3180,7 @@ "deprecated" : true, "hostname" : "config-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -3692,6 +3772,7 @@ "deprecated" : true, "hostname" : "directconnect-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -3792,6 +3873,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -4086,6 +4168,7 @@ "hostname" : "localhost:8000", "protocols" : [ "http" ] }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -4299,6 +4382,7 @@ "deprecated" : true, "hostname" : "ec2-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { "variants" : [ { @@ -4387,6 +4471,7 @@ "deprecated" : true, "hostname" : "ecs-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -4531,6 +4616,7 @@ "deprecated" : true, "hostname" : "elasticache-fips.us-west-1.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -5000,6 +5086,7 @@ "deprecated" : true, "hostname" : "elasticloadbalancing-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -5092,6 +5179,7 @@ "deprecated" : true, "hostname" : "elasticmapreduce-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -5328,6 +5416,7 @@ "deprecated" : true, "hostname" : "es-fips.us-west-1.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -5430,6 +5519,7 @@ "deprecated" : true, "hostname" : "events-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -7410,6 +7500,7 @@ "deprecated" : true, "hostname" : "kinesis-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -7694,6 +7785,12 @@ "deprecated" : true, "hostname" : "kms-fips.eu-west-3.amazonaws.com" }, + "me-central-1" : { + "variants" : [ { + "hostname" : "kms-fips.me-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "me-central-1-fips" : { "credentialScope" : { "region" : "me-central-1" @@ -7980,6 +8077,7 @@ "deprecated" : true, "hostname" : "lambda-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { "variants" : [ { "hostname" : "lambda.me-south-1.api.aws", @@ -8241,6 +8339,7 @@ "deprecated" : true, "hostname" : "logs-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -8771,6 +8870,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -8941,6 +9041,7 @@ "deprecated" : true, "hostname" : "monitoring-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -9563,6 +9664,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -10023,19 +10125,80 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, - "ca-central-1" : { }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "rbin-fips.ca-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-north-1" : { }, "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "deprecated" : true, + "hostname" : "rbin-fips.ca-central-1.amazonaws.com" + }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "rbin-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "rbin-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "rbin-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "rbin-fips.us-west-2.amazonaws.com" + }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "us-east-1" : { + "variants" : [ { + "hostname" : "rbin-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "rbin-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "rbin-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "rbin-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "rds" : { @@ -10068,6 +10231,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "rds-fips.ca-central-1" : { "credentialScope" : { @@ -10334,6 +10498,7 @@ "deprecated" : true, "hostname" : "redshift-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -11059,6 +11224,12 @@ "deprecated" : true, "hostname" : "s3-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { + "variants" : [ { + "hostname" : "s3.dualstack.me-central-1.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "me-south-1" : { "variants" : [ { "hostname" : "s3.dualstack.me-south-1.amazonaws.com", @@ -11553,6 +11724,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -12465,6 +12637,7 @@ "deprecated" : true, "hostname" : "sns-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -12543,6 +12716,7 @@ "deprecated" : true, "hostname" : "sqs-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -12630,6 +12804,7 @@ "deprecated" : true, "hostname" : "ssm-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -12747,6 +12922,7 @@ "deprecated" : true, "hostname" : "states-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -12899,6 +13075,7 @@ "hostname" : "localhost:8000", "protocols" : [ "http" ] }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -12931,6 +13108,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -13052,6 +13230,7 @@ "deprecated" : true, "hostname" : "swf-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -13126,6 +13305,7 @@ "deprecated" : true, "hostname" : "synthetics-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { @@ -13172,6 +13352,7 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -14557,6 +14738,7 @@ "deprecated" : true, "hostname" : "xray-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { diff --git a/service/greengrassv2/api.go b/service/greengrassv2/api.go index ad7b05a755..2927d7eb6d 100644 --- a/service/greengrassv2/api.go +++ b/service/greengrassv2/api.go @@ -1184,8 +1184,7 @@ func (c *GreengrassV2) GetComponentRequest(input *GetComponentInput) (req *reque // GetComponent API operation for AWS IoT Greengrass V2. // -// Gets the recipe for a version of a component. Core devices can call this -// operation to identify the artifacts and requirements to install a component. +// Gets the recipe for a version of a component. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1486,6 +1485,9 @@ func (c *GreengrassV2) GetCoreDeviceRequest(input *GetCoreDeviceInput) (req *req // - At a regular interval that you can configure (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), // which defaults to 24 hours // +// - For IoT Greengrass Core v2.7.0, the core device sends status updates +// upon local deployment and cloud deployment +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2238,6 +2240,9 @@ func (c *GreengrassV2) ListCoreDevicesRequest(input *ListCoreDevicesInput) (req // - At a regular interval that you can configure (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), // which defaults to 24 hours // +// - For IoT Greengrass Core v2.7.0, the core device sends status updates +// upon local deployment and cloud deployment +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2685,8 +2690,9 @@ func (c *GreengrassV2) ListInstalledComponentsRequest(input *ListInstalledCompon // ListInstalledComponents API operation for AWS IoT Greengrass V2. // // Retrieves a paginated list of the components that a Greengrass core device -// runs. This list doesn't include components that are deployed from local deployments -// or components that are deployed as dependencies of other components. +// runs. By default, this list doesn't include components that are deployed +// as dependencies of other components. To include dependencies in the response, +// set the topologyFilter parameter to ALL. // // IoT Greengrass relies on individual devices to send status updates to the // Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running @@ -2706,6 +2712,9 @@ func (c *GreengrassV2) ListInstalledComponentsRequest(input *ListInstalledCompon // - At a regular interval that you can configure (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), // which defaults to 24 hours // +// - For IoT Greengrass Core v2.7.0, the core device sends status updates +// upon local deployment and cloud deployment +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -4356,7 +4365,7 @@ type ComponentPlatform struct { _ struct{} `type:"structure"` // A dictionary of attributes for the platform. The IoT Greengrass Core software - // defines the os and platform by default. You can specify additional platform + // defines the os and architecture by default. You can specify additional platform // attributes for a core device when you deploy the Greengrass nucleus component. // For more information, see the Greengrass nucleus component (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html) // in the IoT Greengrass V2 Developer Guide. @@ -6824,6 +6833,14 @@ type InstalledComponent struct { // Whether or not the component is a root component. IsRoot *bool `locationName:"isRoot" type:"boolean"` + // The status of how current the data is. + // + // This response is based off of component state changes. The status reflects + // component disruptions and deployments. If a component only sees a configuration + // update during a deployment, it might not undergo a state change and this + // status would not be updated. + LastStatusChangeTimestamp *time.Time `locationName:"lastStatusChangeTimestamp" type:"timestamp"` + // The lifecycle state of the component. LifecycleState *string `locationName:"lifecycleState" type:"string" enum:"InstalledComponentLifecycleState"` @@ -6867,6 +6884,12 @@ func (s *InstalledComponent) SetIsRoot(v bool) *InstalledComponent { return s } +// SetLastStatusChangeTimestamp sets the LastStatusChangeTimestamp field's value. +func (s *InstalledComponent) SetLastStatusChangeTimestamp(v time.Time) *InstalledComponent { + s.LastStatusChangeTimestamp = &v + return s +} + // SetLifecycleState sets the LifecycleState field's value. func (s *InstalledComponent) SetLifecycleState(v string) *InstalledComponent { s.LifecycleState = &v @@ -7797,7 +7820,7 @@ type LambdaFunctionRecipeSource struct { // to import. You can't use version aliases like $LATEST. // // LambdaArn is a required field - LambdaArn *string `locationName:"lambdaArn" type:"string" required:"true"` + LambdaArn *string `locationName:"lambdaArn" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -7830,6 +7853,9 @@ func (s *LambdaFunctionRecipeSource) Validate() error { if s.LambdaArn == nil { invalidParams.Add(request.NewErrParamRequired("LambdaArn")) } + if s.LambdaArn != nil && len(*s.LambdaArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LambdaArn", 1)) + } if s.ComponentDependencies != nil { for i, v := range s.ComponentDependencies { if v == nil { @@ -8739,6 +8765,18 @@ type ListInstalledComponentsInput struct { // The token to be used for the next set of paginated results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The filter for the list of components. Choose from the following options: + // + // * ALL – The list includes all components installed on the core device. + // + // * ROOT – The list includes only root components, which are components + // that you specify in a deployment. When you choose this option, the list + // doesn't include components that the core device installs as dependencies + // of other components. + // + // Default: ROOT + TopologyFilter *string `location:"querystring" locationName:"topologyFilter" type:"string" enum:"InstalledComponentTopologyFilter"` } // String returns the string representation. @@ -8796,10 +8834,20 @@ func (s *ListInstalledComponentsInput) SetNextToken(v string) *ListInstalledComp return s } +// SetTopologyFilter sets the TopologyFilter field's value. +func (s *ListInstalledComponentsInput) SetTopologyFilter(v string) *ListInstalledComponentsInput { + s.TopologyFilter = &v + return s +} + type ListInstalledComponentsOutput struct { _ struct{} `type:"structure"` // A list that summarizes each component on the core device. + // + // Accuracy of the lastStatusChangeTimestamp response depends on Greengrass + // nucleus v2.7.0. It performs best on Greengrass nucleus v2.7.0 and can be + // inaccurate on earlier versions. InstalledComponents []*InstalledComponent `locationName:"installedComponents" type:"list"` // The token for the next set of results, or null if there are no additional @@ -10086,6 +10134,22 @@ func InstalledComponentLifecycleState_Values() []string { } } +const ( + // InstalledComponentTopologyFilterAll is a InstalledComponentTopologyFilter enum value + InstalledComponentTopologyFilterAll = "ALL" + + // InstalledComponentTopologyFilterRoot is a InstalledComponentTopologyFilter enum value + InstalledComponentTopologyFilterRoot = "ROOT" +) + +// InstalledComponentTopologyFilter_Values returns all elements of the InstalledComponentTopologyFilter enum +func InstalledComponentTopologyFilter_Values() []string { + return []string{ + InstalledComponentTopologyFilterAll, + InstalledComponentTopologyFilterRoot, + } +} + const ( // IoTJobAbortActionCancel is a IoTJobAbortAction enum value IoTJobAbortActionCancel = "CANCEL" diff --git a/service/identitystore/doc.go b/service/identitystore/doc.go index e77fd92cf5..7fa0b1ee35 100644 --- a/service/identitystore/doc.go +++ b/service/identitystore/doc.go @@ -3,13 +3,14 @@ // Package identitystore provides the client and types for making API // requests to AWS SSO Identity Store. // -// The Identity Store service used by Amazon Web Services Single Sign On provides -// a single place to retrieve all of your identities (users and groups). For -// more information, see the Amazon Web Services SSO User Guide (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html). -// -// Although Amazon Web Services Single Sign-On was renamed, the sso and identitystore -// API namespaces will continue to retain their original name for backward compatibility -// purposes. For more information, see Amazon Web Services SSO rename (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed). +// The Identity Store service used by AWS IAM Identity Center (successor to +// AWS Single Sign-On) provides a single place to retrieve all of your identities +// (users and groups). For more information, see the IAM Identity Center User +// Guide (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html). +// +// Although AWS Single Sign-On was renamed, the sso and identitystore API namespaces +// will continue to retain their original name for backward compatibility purposes. +// For more information, see IAM Identity Center rename (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed). // // This reference guide describes the identity store operations that you can // call programatically and includes detailed information on data types and diff --git a/service/lookoutequipment/api.go b/service/lookoutequipment/api.go index a5535aebbb..c902660992 100644 --- a/service/lookoutequipment/api.go +++ b/service/lookoutequipment/api.go @@ -222,6 +222,206 @@ func (c *LookoutEquipment) CreateInferenceSchedulerWithContext(ctx aws.Context, return out, req.Send() } +const opCreateLabel = "CreateLabel" + +// CreateLabelRequest generates a "aws/request.Request" representing the +// client's request for the CreateLabel operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateLabel for more information on using the CreateLabel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateLabelRequest method. +// req, resp := client.CreateLabelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateLabel +func (c *LookoutEquipment) CreateLabelRequest(input *CreateLabelInput) (req *request.Request, output *CreateLabelOutput) { + op := &request.Operation{ + Name: opCreateLabel, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateLabelInput{} + } + + output = &CreateLabelOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateLabel API operation for Amazon Lookout for Equipment. +// +// Creates a label for an event. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation CreateLabel for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ServiceQuotaExceededException +// Resource limitations have been exceeded. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateLabel +func (c *LookoutEquipment) CreateLabel(input *CreateLabelInput) (*CreateLabelOutput, error) { + req, out := c.CreateLabelRequest(input) + return out, req.Send() +} + +// CreateLabelWithContext is the same as CreateLabel with the addition of +// the ability to pass a context and additional request options. +// +// See CreateLabel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) CreateLabelWithContext(ctx aws.Context, input *CreateLabelInput, opts ...request.Option) (*CreateLabelOutput, error) { + req, out := c.CreateLabelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateLabelGroup = "CreateLabelGroup" + +// CreateLabelGroupRequest generates a "aws/request.Request" representing the +// client's request for the CreateLabelGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateLabelGroup for more information on using the CreateLabelGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateLabelGroupRequest method. +// req, resp := client.CreateLabelGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateLabelGroup +func (c *LookoutEquipment) CreateLabelGroupRequest(input *CreateLabelGroupInput) (req *request.Request, output *CreateLabelGroupOutput) { + op := &request.Operation{ + Name: opCreateLabelGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateLabelGroupInput{} + } + + output = &CreateLabelGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateLabelGroup API operation for Amazon Lookout for Equipment. +// +// Creates a group of labels. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation CreateLabelGroup for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ServiceQuotaExceededException +// Resource limitations have been exceeded. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateLabelGroup +func (c *LookoutEquipment) CreateLabelGroup(input *CreateLabelGroupInput) (*CreateLabelGroupOutput, error) { + req, out := c.CreateLabelGroupRequest(input) + return out, req.Send() +} + +// CreateLabelGroupWithContext is the same as CreateLabelGroup with the addition of +// the ability to pass a context and additional request options. +// +// See CreateLabelGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) CreateLabelGroupWithContext(ctx aws.Context, input *CreateLabelGroupInput, opts ...request.Option) (*CreateLabelGroupOutput, error) { + req, out := c.CreateLabelGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateModel = "CreateModel" // CreateModelRequest generates a "aws/request.Request" representing the @@ -536,60 +736,58 @@ func (c *LookoutEquipment) DeleteInferenceSchedulerWithContext(ctx aws.Context, return out, req.Send() } -const opDeleteModel = "DeleteModel" +const opDeleteLabel = "DeleteLabel" -// DeleteModelRequest generates a "aws/request.Request" representing the -// client's request for the DeleteModel operation. The "output" return +// DeleteLabelRequest generates a "aws/request.Request" representing the +// client's request for the DeleteLabel operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DeleteModel for more information on using the DeleteModel +// See DeleteLabel for more information on using the DeleteLabel // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DeleteModelRequest method. -// req, resp := client.DeleteModelRequest(params) +// // Example sending a request using the DeleteLabelRequest method. +// req, resp := client.DeleteLabelRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteModel -func (c *LookoutEquipment) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteLabel +func (c *LookoutEquipment) DeleteLabelRequest(input *DeleteLabelInput) (req *request.Request, output *DeleteLabelOutput) { op := &request.Operation{ - Name: opDeleteModel, + Name: opDeleteLabel, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DeleteModelInput{} + input = &DeleteLabelInput{} } - output = &DeleteModelOutput{} + output = &DeleteLabelOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeleteModel API operation for Amazon Lookout for Equipment. +// DeleteLabel API operation for Amazon Lookout for Equipment. // -// Deletes an ML model currently available for Amazon Lookout for Equipment. -// This will prevent it from being used with an inference scheduler, even one -// that is already set up. +// Deletes a label. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation DeleteModel for usage and error information. +// API operation DeleteLabel for usage and error information. // // Returned Error Types: // @@ -604,95 +802,91 @@ func (c *LookoutEquipment) DeleteModelRequest(input *DeleteModelInput) (req *req // Processing of the request has failed because of an unknown error, exception // or failure. // -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. -// // - AccessDeniedException // The request could not be completed because you do not have access to the // resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteModel -func (c *LookoutEquipment) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) { - req, out := c.DeleteModelRequest(input) +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteLabel +func (c *LookoutEquipment) DeleteLabel(input *DeleteLabelInput) (*DeleteLabelOutput, error) { + req, out := c.DeleteLabelRequest(input) return out, req.Send() } -// DeleteModelWithContext is the same as DeleteModel with the addition of +// DeleteLabelWithContext is the same as DeleteLabel with the addition of // the ability to pass a context and additional request options. // -// See DeleteModel for details on how to use this API operation. +// See DeleteLabel for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error) { - req, out := c.DeleteModelRequest(input) +func (c *LookoutEquipment) DeleteLabelWithContext(ctx aws.Context, input *DeleteLabelInput, opts ...request.Option) (*DeleteLabelOutput, error) { + req, out := c.DeleteLabelRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeDataIngestionJob = "DescribeDataIngestionJob" +const opDeleteLabelGroup = "DeleteLabelGroup" -// DescribeDataIngestionJobRequest generates a "aws/request.Request" representing the -// client's request for the DescribeDataIngestionJob operation. The "output" return +// DeleteLabelGroupRequest generates a "aws/request.Request" representing the +// client's request for the DeleteLabelGroup operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeDataIngestionJob for more information on using the DescribeDataIngestionJob +// See DeleteLabelGroup for more information on using the DeleteLabelGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DescribeDataIngestionJobRequest method. -// req, resp := client.DescribeDataIngestionJobRequest(params) +// // Example sending a request using the DeleteLabelGroupRequest method. +// req, resp := client.DeleteLabelGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataIngestionJob -func (c *LookoutEquipment) DescribeDataIngestionJobRequest(input *DescribeDataIngestionJobInput) (req *request.Request, output *DescribeDataIngestionJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteLabelGroup +func (c *LookoutEquipment) DeleteLabelGroupRequest(input *DeleteLabelGroupInput) (req *request.Request, output *DeleteLabelGroupOutput) { op := &request.Operation{ - Name: opDescribeDataIngestionJob, + Name: opDeleteLabelGroup, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DescribeDataIngestionJobInput{} + input = &DeleteLabelGroupInput{} } - output = &DescribeDataIngestionJobOutput{} + output = &DeleteLabelGroupOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DescribeDataIngestionJob API operation for Amazon Lookout for Equipment. +// DeleteLabelGroup API operation for Amazon Lookout for Equipment. // -// Provides information on a specific data ingestion job such as creation time, -// dataset ARN, and status. +// Deletes a group of labels. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation DescribeDataIngestionJob for usage and error information. +// API operation DeleteLabelGroup for usage and error information. // // Returned Error Types: // -// - ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. -// // - ResourceNotFoundException // The resource requested could not be found. Verify the resource ID and retry // your request. @@ -700,95 +894,97 @@ func (c *LookoutEquipment) DescribeDataIngestionJobRequest(input *DescribeDataIn // - ThrottlingException // The request was denied due to request throttling. // +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// // - AccessDeniedException // The request could not be completed because you do not have access to the // resource. // -// - InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataIngestionJob -func (c *LookoutEquipment) DescribeDataIngestionJob(input *DescribeDataIngestionJobInput) (*DescribeDataIngestionJobOutput, error) { - req, out := c.DescribeDataIngestionJobRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteLabelGroup +func (c *LookoutEquipment) DeleteLabelGroup(input *DeleteLabelGroupInput) (*DeleteLabelGroupOutput, error) { + req, out := c.DeleteLabelGroupRequest(input) return out, req.Send() } -// DescribeDataIngestionJobWithContext is the same as DescribeDataIngestionJob with the addition of +// DeleteLabelGroupWithContext is the same as DeleteLabelGroup with the addition of // the ability to pass a context and additional request options. // -// See DescribeDataIngestionJob for details on how to use this API operation. +// See DeleteLabelGroup for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) DescribeDataIngestionJobWithContext(ctx aws.Context, input *DescribeDataIngestionJobInput, opts ...request.Option) (*DescribeDataIngestionJobOutput, error) { - req, out := c.DescribeDataIngestionJobRequest(input) +func (c *LookoutEquipment) DeleteLabelGroupWithContext(ctx aws.Context, input *DeleteLabelGroupInput, opts ...request.Option) (*DeleteLabelGroupOutput, error) { + req, out := c.DeleteLabelGroupRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeDataset = "DescribeDataset" +const opDeleteModel = "DeleteModel" -// DescribeDatasetRequest generates a "aws/request.Request" representing the -// client's request for the DescribeDataset operation. The "output" return +// DeleteModelRequest generates a "aws/request.Request" representing the +// client's request for the DeleteModel operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeDataset for more information on using the DescribeDataset +// See DeleteModel for more information on using the DeleteModel // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DescribeDatasetRequest method. -// req, resp := client.DescribeDatasetRequest(params) +// // Example sending a request using the DeleteModelRequest method. +// req, resp := client.DeleteModelRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataset -func (c *LookoutEquipment) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteModel +func (c *LookoutEquipment) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) { op := &request.Operation{ - Name: opDescribeDataset, + Name: opDeleteModel, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DescribeDatasetInput{} + input = &DeleteModelInput{} } - output = &DescribeDatasetOutput{} + output = &DeleteModelOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DescribeDataset API operation for Amazon Lookout for Equipment. +// DeleteModel API operation for Amazon Lookout for Equipment. // -// Provides a JSON description of the data in each time series dataset, including -// names, column names, and data types. +// Deletes an ML model currently available for Amazon Lookout for Equipment. +// This will prevent it from being used with an inference scheduler, even one +// that is already set up. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation DescribeDataset for usage and error information. +// API operation DeleteModel for usage and error information. // // Returned Error Types: // -// - ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. -// // - ResourceNotFoundException // The resource requested could not be found. Verify the resource ID and retry // your request. @@ -796,88 +992,92 @@ func (c *LookoutEquipment) DescribeDatasetRequest(input *DescribeDatasetInput) ( // - ThrottlingException // The request was denied due to request throttling. // -// - AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. -// // - InternalServerException // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataset -func (c *LookoutEquipment) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { - req, out := c.DescribeDatasetRequest(input) +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteModel +func (c *LookoutEquipment) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) { + req, out := c.DeleteModelRequest(input) return out, req.Send() } -// DescribeDatasetWithContext is the same as DescribeDataset with the addition of +// DeleteModelWithContext is the same as DeleteModel with the addition of // the ability to pass a context and additional request options. // -// See DescribeDataset for details on how to use this API operation. +// See DeleteModel for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) DescribeDatasetWithContext(ctx aws.Context, input *DescribeDatasetInput, opts ...request.Option) (*DescribeDatasetOutput, error) { - req, out := c.DescribeDatasetRequest(input) +func (c *LookoutEquipment) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error) { + req, out := c.DeleteModelRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeInferenceScheduler = "DescribeInferenceScheduler" +const opDescribeDataIngestionJob = "DescribeDataIngestionJob" -// DescribeInferenceSchedulerRequest generates a "aws/request.Request" representing the -// client's request for the DescribeInferenceScheduler operation. The "output" return +// DescribeDataIngestionJobRequest generates a "aws/request.Request" representing the +// client's request for the DescribeDataIngestionJob operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeInferenceScheduler for more information on using the DescribeInferenceScheduler +// See DescribeDataIngestionJob for more information on using the DescribeDataIngestionJob // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DescribeInferenceSchedulerRequest method. -// req, resp := client.DescribeInferenceSchedulerRequest(params) +// // Example sending a request using the DescribeDataIngestionJobRequest method. +// req, resp := client.DescribeDataIngestionJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeInferenceScheduler -func (c *LookoutEquipment) DescribeInferenceSchedulerRequest(input *DescribeInferenceSchedulerInput) (req *request.Request, output *DescribeInferenceSchedulerOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataIngestionJob +func (c *LookoutEquipment) DescribeDataIngestionJobRequest(input *DescribeDataIngestionJobInput) (req *request.Request, output *DescribeDataIngestionJobOutput) { op := &request.Operation{ - Name: opDescribeInferenceScheduler, + Name: opDescribeDataIngestionJob, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DescribeInferenceSchedulerInput{} + input = &DescribeDataIngestionJobInput{} } - output = &DescribeInferenceSchedulerOutput{} + output = &DescribeDataIngestionJobOutput{} req = c.newRequest(op, input, output) return } -// DescribeInferenceScheduler API operation for Amazon Lookout for Equipment. +// DescribeDataIngestionJob API operation for Amazon Lookout for Equipment. // -// Specifies information about the inference scheduler being used, including -// name, model, status, and associated metadata +// Provides information on a specific data ingestion job such as creation time, +// dataset ARN, and status. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation DescribeInferenceScheduler for usage and error information. +// API operation DescribeDataIngestionJob for usage and error information. // // Returned Error Types: // @@ -900,81 +1100,80 @@ func (c *LookoutEquipment) DescribeInferenceSchedulerRequest(input *DescribeInfe // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeInferenceScheduler -func (c *LookoutEquipment) DescribeInferenceScheduler(input *DescribeInferenceSchedulerInput) (*DescribeInferenceSchedulerOutput, error) { - req, out := c.DescribeInferenceSchedulerRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataIngestionJob +func (c *LookoutEquipment) DescribeDataIngestionJob(input *DescribeDataIngestionJobInput) (*DescribeDataIngestionJobOutput, error) { + req, out := c.DescribeDataIngestionJobRequest(input) return out, req.Send() } -// DescribeInferenceSchedulerWithContext is the same as DescribeInferenceScheduler with the addition of +// DescribeDataIngestionJobWithContext is the same as DescribeDataIngestionJob with the addition of // the ability to pass a context and additional request options. // -// See DescribeInferenceScheduler for details on how to use this API operation. +// See DescribeDataIngestionJob for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) DescribeInferenceSchedulerWithContext(ctx aws.Context, input *DescribeInferenceSchedulerInput, opts ...request.Option) (*DescribeInferenceSchedulerOutput, error) { - req, out := c.DescribeInferenceSchedulerRequest(input) +func (c *LookoutEquipment) DescribeDataIngestionJobWithContext(ctx aws.Context, input *DescribeDataIngestionJobInput, opts ...request.Option) (*DescribeDataIngestionJobOutput, error) { + req, out := c.DescribeDataIngestionJobRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeModel = "DescribeModel" +const opDescribeDataset = "DescribeDataset" -// DescribeModelRequest generates a "aws/request.Request" representing the -// client's request for the DescribeModel operation. The "output" return +// DescribeDatasetRequest generates a "aws/request.Request" representing the +// client's request for the DescribeDataset operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeModel for more information on using the DescribeModel +// See DescribeDataset for more information on using the DescribeDataset // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the DescribeModelRequest method. -// req, resp := client.DescribeModelRequest(params) +// // Example sending a request using the DescribeDatasetRequest method. +// req, resp := client.DescribeDatasetRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModel -func (c *LookoutEquipment) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataset +func (c *LookoutEquipment) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { op := &request.Operation{ - Name: opDescribeModel, + Name: opDescribeDataset, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DescribeModelInput{} + input = &DescribeDatasetInput{} } - output = &DescribeModelOutput{} + output = &DescribeDatasetOutput{} req = c.newRequest(op, input, output) return } -// DescribeModel API operation for Amazon Lookout for Equipment. +// DescribeDataset API operation for Amazon Lookout for Equipment. // -// Provides a JSON containing the overall information about a specific ML model, -// including model name and ARN, dataset, training and evaluation information, -// status, and so on. +// Provides a JSON description of the data in each time series dataset, including +// names, column names, and data types. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation DescribeModel for usage and error information. +// API operation DescribeDataset for usage and error information. // // Returned Error Types: // @@ -997,86 +1196,80 @@ func (c *LookoutEquipment) DescribeModelRequest(input *DescribeModelInput) (req // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModel -func (c *LookoutEquipment) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) { - req, out := c.DescribeModelRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataset +func (c *LookoutEquipment) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { + req, out := c.DescribeDatasetRequest(input) return out, req.Send() } -// DescribeModelWithContext is the same as DescribeModel with the addition of +// DescribeDatasetWithContext is the same as DescribeDataset with the addition of // the ability to pass a context and additional request options. // -// See DescribeModel for details on how to use this API operation. +// See DescribeDataset for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error) { - req, out := c.DescribeModelRequest(input) +func (c *LookoutEquipment) DescribeDatasetWithContext(ctx aws.Context, input *DescribeDatasetInput, opts ...request.Option) (*DescribeDatasetOutput, error) { + req, out := c.DescribeDatasetRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListDataIngestionJobs = "ListDataIngestionJobs" +const opDescribeInferenceScheduler = "DescribeInferenceScheduler" -// ListDataIngestionJobsRequest generates a "aws/request.Request" representing the -// client's request for the ListDataIngestionJobs operation. The "output" return +// DescribeInferenceSchedulerRequest generates a "aws/request.Request" representing the +// client's request for the DescribeInferenceScheduler operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListDataIngestionJobs for more information on using the ListDataIngestionJobs +// See DescribeInferenceScheduler for more information on using the DescribeInferenceScheduler // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListDataIngestionJobsRequest method. -// req, resp := client.ListDataIngestionJobsRequest(params) +// // Example sending a request using the DescribeInferenceSchedulerRequest method. +// req, resp := client.DescribeInferenceSchedulerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDataIngestionJobs -func (c *LookoutEquipment) ListDataIngestionJobsRequest(input *ListDataIngestionJobsInput) (req *request.Request, output *ListDataIngestionJobsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeInferenceScheduler +func (c *LookoutEquipment) DescribeInferenceSchedulerRequest(input *DescribeInferenceSchedulerInput) (req *request.Request, output *DescribeInferenceSchedulerOutput) { op := &request.Operation{ - Name: opListDataIngestionJobs, + Name: opDescribeInferenceScheduler, HTTPMethod: "POST", HTTPPath: "/", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", - }, } if input == nil { - input = &ListDataIngestionJobsInput{} + input = &DescribeInferenceSchedulerInput{} } - output = &ListDataIngestionJobsOutput{} + output = &DescribeInferenceSchedulerOutput{} req = c.newRequest(op, input, output) return } -// ListDataIngestionJobs API operation for Amazon Lookout for Equipment. +// DescribeInferenceScheduler API operation for Amazon Lookout for Equipment. // -// Provides a list of all data ingestion jobs, including dataset name and ARN, -// S3 location of the input data, status, and so on. +// Specifies information about the inference scheduler being used, including +// name, model, status, and associated metadata // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation ListDataIngestionJobs for usage and error information. +// API operation DescribeInferenceScheduler for usage and error information. // // Returned Error Types: // @@ -1084,6 +1277,10 @@ func (c *LookoutEquipment) ListDataIngestionJobsRequest(input *ListDataIngestion // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// // - ThrottlingException // The request was denied due to request throttling. // @@ -1095,137 +1292,79 @@ func (c *LookoutEquipment) ListDataIngestionJobsRequest(input *ListDataIngestion // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDataIngestionJobs -func (c *LookoutEquipment) ListDataIngestionJobs(input *ListDataIngestionJobsInput) (*ListDataIngestionJobsOutput, error) { - req, out := c.ListDataIngestionJobsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeInferenceScheduler +func (c *LookoutEquipment) DescribeInferenceScheduler(input *DescribeInferenceSchedulerInput) (*DescribeInferenceSchedulerOutput, error) { + req, out := c.DescribeInferenceSchedulerRequest(input) return out, req.Send() } -// ListDataIngestionJobsWithContext is the same as ListDataIngestionJobs with the addition of +// DescribeInferenceSchedulerWithContext is the same as DescribeInferenceScheduler with the addition of // the ability to pass a context and additional request options. // -// See ListDataIngestionJobs for details on how to use this API operation. +// See DescribeInferenceScheduler for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListDataIngestionJobsWithContext(ctx aws.Context, input *ListDataIngestionJobsInput, opts ...request.Option) (*ListDataIngestionJobsOutput, error) { - req, out := c.ListDataIngestionJobsRequest(input) +func (c *LookoutEquipment) DescribeInferenceSchedulerWithContext(ctx aws.Context, input *DescribeInferenceSchedulerInput, opts ...request.Option) (*DescribeInferenceSchedulerOutput, error) { + req, out := c.DescribeInferenceSchedulerRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListDataIngestionJobsPages iterates over the pages of a ListDataIngestionJobs operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListDataIngestionJobs method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListDataIngestionJobs operation. -// pageNum := 0 -// err := client.ListDataIngestionJobsPages(params, -// func(page *lookoutequipment.ListDataIngestionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -func (c *LookoutEquipment) ListDataIngestionJobsPages(input *ListDataIngestionJobsInput, fn func(*ListDataIngestionJobsOutput, bool) bool) error { - return c.ListDataIngestionJobsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListDataIngestionJobsPagesWithContext same as ListDataIngestionJobsPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *LookoutEquipment) ListDataIngestionJobsPagesWithContext(ctx aws.Context, input *ListDataIngestionJobsInput, fn func(*ListDataIngestionJobsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListDataIngestionJobsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListDataIngestionJobsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListDataIngestionJobsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListDatasets = "ListDatasets" +const opDescribeLabel = "DescribeLabel" -// ListDatasetsRequest generates a "aws/request.Request" representing the -// client's request for the ListDatasets operation. The "output" return +// DescribeLabelRequest generates a "aws/request.Request" representing the +// client's request for the DescribeLabel operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListDatasets for more information on using the ListDatasets +// See DescribeLabel for more information on using the DescribeLabel // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListDatasetsRequest method. -// req, resp := client.ListDatasetsRequest(params) +// // Example sending a request using the DescribeLabelRequest method. +// req, resp := client.DescribeLabelRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDatasets -func (c *LookoutEquipment) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeLabel +func (c *LookoutEquipment) DescribeLabelRequest(input *DescribeLabelInput) (req *request.Request, output *DescribeLabelOutput) { op := &request.Operation{ - Name: opListDatasets, + Name: opDescribeLabel, HTTPMethod: "POST", HTTPPath: "/", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", - }, } if input == nil { - input = &ListDatasetsInput{} + input = &DescribeLabelInput{} } - output = &ListDatasetsOutput{} + output = &DescribeLabelOutput{} req = c.newRequest(op, input, output) return } -// ListDatasets API operation for Amazon Lookout for Equipment. +// DescribeLabel API operation for Amazon Lookout for Equipment. // -// Lists all datasets currently available in your account, filtering on the -// dataset name. +// Returns the name of the label. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation ListDatasets for usage and error information. +// API operation DescribeLabel for usage and error information. // // Returned Error Types: // @@ -1233,6 +1372,10 @@ func (c *LookoutEquipment) ListDatasetsRequest(input *ListDatasetsInput) (req *r // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// // - ThrottlingException // The request was denied due to request throttling. // @@ -1244,137 +1387,79 @@ func (c *LookoutEquipment) ListDatasetsRequest(input *ListDatasetsInput) (req *r // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDatasets -func (c *LookoutEquipment) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) { - req, out := c.ListDatasetsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeLabel +func (c *LookoutEquipment) DescribeLabel(input *DescribeLabelInput) (*DescribeLabelOutput, error) { + req, out := c.DescribeLabelRequest(input) return out, req.Send() } -// ListDatasetsWithContext is the same as ListDatasets with the addition of +// DescribeLabelWithContext is the same as DescribeLabel with the addition of // the ability to pass a context and additional request options. // -// See ListDatasets for details on how to use this API operation. +// See DescribeLabel for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListDatasetsWithContext(ctx aws.Context, input *ListDatasetsInput, opts ...request.Option) (*ListDatasetsOutput, error) { - req, out := c.ListDatasetsRequest(input) +func (c *LookoutEquipment) DescribeLabelWithContext(ctx aws.Context, input *DescribeLabelInput, opts ...request.Option) (*DescribeLabelOutput, error) { + req, out := c.DescribeLabelRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListDatasetsPages iterates over the pages of a ListDatasets operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListDatasets method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListDatasets operation. -// pageNum := 0 -// err := client.ListDatasetsPages(params, -// func(page *lookoutequipment.ListDatasetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -func (c *LookoutEquipment) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error { - return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListDatasetsPagesWithContext same as ListDatasetsPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *LookoutEquipment) ListDatasetsPagesWithContext(ctx aws.Context, input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListDatasetsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListDatasetsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListDatasetsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListInferenceEvents = "ListInferenceEvents" +const opDescribeLabelGroup = "DescribeLabelGroup" -// ListInferenceEventsRequest generates a "aws/request.Request" representing the -// client's request for the ListInferenceEvents operation. The "output" return +// DescribeLabelGroupRequest generates a "aws/request.Request" representing the +// client's request for the DescribeLabelGroup operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListInferenceEvents for more information on using the ListInferenceEvents +// See DescribeLabelGroup for more information on using the DescribeLabelGroup // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListInferenceEventsRequest method. -// req, resp := client.ListInferenceEventsRequest(params) +// // Example sending a request using the DescribeLabelGroupRequest method. +// req, resp := client.DescribeLabelGroupRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceEvents -func (c *LookoutEquipment) ListInferenceEventsRequest(input *ListInferenceEventsInput) (req *request.Request, output *ListInferenceEventsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeLabelGroup +func (c *LookoutEquipment) DescribeLabelGroupRequest(input *DescribeLabelGroupInput) (req *request.Request, output *DescribeLabelGroupOutput) { op := &request.Operation{ - Name: opListInferenceEvents, + Name: opDescribeLabelGroup, HTTPMethod: "POST", HTTPPath: "/", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", - }, } if input == nil { - input = &ListInferenceEventsInput{} + input = &DescribeLabelGroupInput{} } - output = &ListInferenceEventsOutput{} + output = &DescribeLabelGroupOutput{} req = c.newRequest(op, input, output) return } -// ListInferenceEvents API operation for Amazon Lookout for Equipment. +// DescribeLabelGroup API operation for Amazon Lookout for Equipment. // -// Lists all inference events that have been found for the specified inference -// scheduler. +// Returns information about the label group. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation ListInferenceEvents for usage and error information. +// API operation DescribeLabelGroup for usage and error information. // // Returned Error Types: // @@ -1382,13 +1467,13 @@ func (c *LookoutEquipment) ListInferenceEventsRequest(input *ListInferenceEvents // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // -// - ThrottlingException -// The request was denied due to request throttling. -// // - ResourceNotFoundException // The resource requested could not be found. Verify the resource ID and retry // your request. // +// - ThrottlingException +// The request was denied due to request throttling. +// // - AccessDeniedException // The request could not be completed because you do not have access to the // resource. @@ -1397,137 +1482,81 @@ func (c *LookoutEquipment) ListInferenceEventsRequest(input *ListInferenceEvents // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceEvents -func (c *LookoutEquipment) ListInferenceEvents(input *ListInferenceEventsInput) (*ListInferenceEventsOutput, error) { - req, out := c.ListInferenceEventsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeLabelGroup +func (c *LookoutEquipment) DescribeLabelGroup(input *DescribeLabelGroupInput) (*DescribeLabelGroupOutput, error) { + req, out := c.DescribeLabelGroupRequest(input) return out, req.Send() } -// ListInferenceEventsWithContext is the same as ListInferenceEvents with the addition of +// DescribeLabelGroupWithContext is the same as DescribeLabelGroup with the addition of // the ability to pass a context and additional request options. // -// See ListInferenceEvents for details on how to use this API operation. +// See DescribeLabelGroup for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListInferenceEventsWithContext(ctx aws.Context, input *ListInferenceEventsInput, opts ...request.Option) (*ListInferenceEventsOutput, error) { - req, out := c.ListInferenceEventsRequest(input) +func (c *LookoutEquipment) DescribeLabelGroupWithContext(ctx aws.Context, input *DescribeLabelGroupInput, opts ...request.Option) (*DescribeLabelGroupOutput, error) { + req, out := c.DescribeLabelGroupRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListInferenceEventsPages iterates over the pages of a ListInferenceEvents operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListInferenceEvents method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListInferenceEvents operation. -// pageNum := 0 -// err := client.ListInferenceEventsPages(params, -// func(page *lookoutequipment.ListInferenceEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -func (c *LookoutEquipment) ListInferenceEventsPages(input *ListInferenceEventsInput, fn func(*ListInferenceEventsOutput, bool) bool) error { - return c.ListInferenceEventsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListInferenceEventsPagesWithContext same as ListInferenceEventsPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *LookoutEquipment) ListInferenceEventsPagesWithContext(ctx aws.Context, input *ListInferenceEventsInput, fn func(*ListInferenceEventsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListInferenceEventsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListInferenceEventsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListInferenceEventsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListInferenceExecutions = "ListInferenceExecutions" +const opDescribeModel = "DescribeModel" -// ListInferenceExecutionsRequest generates a "aws/request.Request" representing the -// client's request for the ListInferenceExecutions operation. The "output" return +// DescribeModelRequest generates a "aws/request.Request" representing the +// client's request for the DescribeModel operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListInferenceExecutions for more information on using the ListInferenceExecutions +// See DescribeModel for more information on using the DescribeModel // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListInferenceExecutionsRequest method. -// req, resp := client.ListInferenceExecutionsRequest(params) +// // Example sending a request using the DescribeModelRequest method. +// req, resp := client.DescribeModelRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceExecutions -func (c *LookoutEquipment) ListInferenceExecutionsRequest(input *ListInferenceExecutionsInput) (req *request.Request, output *ListInferenceExecutionsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModel +func (c *LookoutEquipment) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) { op := &request.Operation{ - Name: opListInferenceExecutions, + Name: opDescribeModel, HTTPMethod: "POST", HTTPPath: "/", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", - }, } if input == nil { - input = &ListInferenceExecutionsInput{} + input = &DescribeModelInput{} } - output = &ListInferenceExecutionsOutput{} + output = &DescribeModelOutput{} req = c.newRequest(op, input, output) return } -// ListInferenceExecutions API operation for Amazon Lookout for Equipment. +// DescribeModel API operation for Amazon Lookout for Equipment. // -// Lists all inference executions that have been performed by the specified -// inference scheduler. +// Provides a JSON containing the overall information about a specific ML model, +// including model name and ARN, dataset, training and evaluation information, +// status, and so on. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation ListInferenceExecutions for usage and error information. +// API operation DescribeModel for usage and error information. // // Returned Error Types: // @@ -1535,13 +1564,13 @@ func (c *LookoutEquipment) ListInferenceExecutionsRequest(input *ListInferenceEx // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // -// - ThrottlingException -// The request was denied due to request throttling. -// // - ResourceNotFoundException // The resource requested could not be found. Verify the resource ID and retry // your request. // +// - ThrottlingException +// The request was denied due to request throttling. +// // - AccessDeniedException // The request could not be completed because you do not have access to the // resource. @@ -1550,107 +1579,56 @@ func (c *LookoutEquipment) ListInferenceExecutionsRequest(input *ListInferenceEx // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceExecutions -func (c *LookoutEquipment) ListInferenceExecutions(input *ListInferenceExecutionsInput) (*ListInferenceExecutionsOutput, error) { - req, out := c.ListInferenceExecutionsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModel +func (c *LookoutEquipment) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) { + req, out := c.DescribeModelRequest(input) return out, req.Send() } -// ListInferenceExecutionsWithContext is the same as ListInferenceExecutions with the addition of +// DescribeModelWithContext is the same as DescribeModel with the addition of // the ability to pass a context and additional request options. // -// See ListInferenceExecutions for details on how to use this API operation. +// See DescribeModel for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListInferenceExecutionsWithContext(ctx aws.Context, input *ListInferenceExecutionsInput, opts ...request.Option) (*ListInferenceExecutionsOutput, error) { - req, out := c.ListInferenceExecutionsRequest(input) +func (c *LookoutEquipment) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error) { + req, out := c.DescribeModelRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListInferenceExecutionsPages iterates over the pages of a ListInferenceExecutions operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListInferenceExecutions method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListInferenceExecutions operation. -// pageNum := 0 -// err := client.ListInferenceExecutionsPages(params, -// func(page *lookoutequipment.ListInferenceExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -func (c *LookoutEquipment) ListInferenceExecutionsPages(input *ListInferenceExecutionsInput, fn func(*ListInferenceExecutionsOutput, bool) bool) error { - return c.ListInferenceExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListInferenceExecutionsPagesWithContext same as ListInferenceExecutionsPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *LookoutEquipment) ListInferenceExecutionsPagesWithContext(ctx aws.Context, input *ListInferenceExecutionsInput, fn func(*ListInferenceExecutionsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListInferenceExecutionsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListInferenceExecutionsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListInferenceExecutionsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListInferenceSchedulers = "ListInferenceSchedulers" +const opListDataIngestionJobs = "ListDataIngestionJobs" -// ListInferenceSchedulersRequest generates a "aws/request.Request" representing the -// client's request for the ListInferenceSchedulers operation. The "output" return +// ListDataIngestionJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListDataIngestionJobs operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListInferenceSchedulers for more information on using the ListInferenceSchedulers +// See ListDataIngestionJobs for more information on using the ListDataIngestionJobs // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListInferenceSchedulersRequest method. -// req, resp := client.ListInferenceSchedulersRequest(params) +// // Example sending a request using the ListDataIngestionJobsRequest method. +// req, resp := client.ListDataIngestionJobsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceSchedulers -func (c *LookoutEquipment) ListInferenceSchedulersRequest(input *ListInferenceSchedulersInput) (req *request.Request, output *ListInferenceSchedulersOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDataIngestionJobs +func (c *LookoutEquipment) ListDataIngestionJobsRequest(input *ListDataIngestionJobsInput) (req *request.Request, output *ListDataIngestionJobsOutput) { op := &request.Operation{ - Name: opListInferenceSchedulers, + Name: opListDataIngestionJobs, HTTPMethod: "POST", HTTPPath: "/", Paginator: &request.Paginator{ @@ -1662,25 +1640,25 @@ func (c *LookoutEquipment) ListInferenceSchedulersRequest(input *ListInferenceSc } if input == nil { - input = &ListInferenceSchedulersInput{} + input = &ListDataIngestionJobsInput{} } - output = &ListInferenceSchedulersOutput{} + output = &ListDataIngestionJobsOutput{} req = c.newRequest(op, input, output) return } -// ListInferenceSchedulers API operation for Amazon Lookout for Equipment. +// ListDataIngestionJobs API operation for Amazon Lookout for Equipment. // -// Retrieves a list of all inference schedulers currently available for your -// account. +// Provides a list of all data ingestion jobs, including dataset name and ARN, +// S3 location of the input data, status, and so on. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation ListInferenceSchedulers for usage and error information. +// API operation ListDataIngestionJobs for usage and error information. // // Returned Error Types: // @@ -1699,64 +1677,64 @@ func (c *LookoutEquipment) ListInferenceSchedulersRequest(input *ListInferenceSc // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceSchedulers -func (c *LookoutEquipment) ListInferenceSchedulers(input *ListInferenceSchedulersInput) (*ListInferenceSchedulersOutput, error) { - req, out := c.ListInferenceSchedulersRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDataIngestionJobs +func (c *LookoutEquipment) ListDataIngestionJobs(input *ListDataIngestionJobsInput) (*ListDataIngestionJobsOutput, error) { + req, out := c.ListDataIngestionJobsRequest(input) return out, req.Send() } -// ListInferenceSchedulersWithContext is the same as ListInferenceSchedulers with the addition of +// ListDataIngestionJobsWithContext is the same as ListDataIngestionJobs with the addition of // the ability to pass a context and additional request options. // -// See ListInferenceSchedulers for details on how to use this API operation. +// See ListDataIngestionJobs for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListInferenceSchedulersWithContext(ctx aws.Context, input *ListInferenceSchedulersInput, opts ...request.Option) (*ListInferenceSchedulersOutput, error) { - req, out := c.ListInferenceSchedulersRequest(input) +func (c *LookoutEquipment) ListDataIngestionJobsWithContext(ctx aws.Context, input *ListDataIngestionJobsInput, opts ...request.Option) (*ListDataIngestionJobsOutput, error) { + req, out := c.ListDataIngestionJobsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListInferenceSchedulersPages iterates over the pages of a ListInferenceSchedulers operation, +// ListDataIngestionJobsPages iterates over the pages of a ListDataIngestionJobs operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListInferenceSchedulers method for more information on how to use this operation. +// See ListDataIngestionJobs method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInferenceSchedulers operation. +// // Example iterating over at most 3 pages of a ListDataIngestionJobs operation. // pageNum := 0 -// err := client.ListInferenceSchedulersPages(params, -// func(page *lookoutequipment.ListInferenceSchedulersOutput, lastPage bool) bool { +// err := client.ListDataIngestionJobsPages(params, +// func(page *lookoutequipment.ListDataIngestionJobsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *LookoutEquipment) ListInferenceSchedulersPages(input *ListInferenceSchedulersInput, fn func(*ListInferenceSchedulersOutput, bool) bool) error { - return c.ListInferenceSchedulersPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *LookoutEquipment) ListDataIngestionJobsPages(input *ListDataIngestionJobsInput, fn func(*ListDataIngestionJobsOutput, bool) bool) error { + return c.ListDataIngestionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListInferenceSchedulersPagesWithContext same as ListInferenceSchedulersPages except +// ListDataIngestionJobsPagesWithContext same as ListDataIngestionJobsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListInferenceSchedulersPagesWithContext(ctx aws.Context, input *ListInferenceSchedulersInput, fn func(*ListInferenceSchedulersOutput, bool) bool, opts ...request.Option) error { +func (c *LookoutEquipment) ListDataIngestionJobsPagesWithContext(ctx aws.Context, input *ListDataIngestionJobsInput, fn func(*ListDataIngestionJobsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListInferenceSchedulersInput + var inCpy *ListDataIngestionJobsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListInferenceSchedulersRequest(inCpy) + req, _ := c.ListDataIngestionJobsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -1764,7 +1742,7 @@ func (c *LookoutEquipment) ListInferenceSchedulersPagesWithContext(ctx aws.Conte } for p.Next() { - if !fn(p.Page().(*ListInferenceSchedulersOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListDataIngestionJobsOutput), !p.HasNextPage()) { break } } @@ -1772,34 +1750,34 @@ func (c *LookoutEquipment) ListInferenceSchedulersPagesWithContext(ctx aws.Conte return p.Err() } -const opListModels = "ListModels" +const opListDatasets = "ListDatasets" -// ListModelsRequest generates a "aws/request.Request" representing the -// client's request for the ListModels operation. The "output" return +// ListDatasetsRequest generates a "aws/request.Request" representing the +// client's request for the ListDatasets operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListModels for more information on using the ListModels +// See ListDatasets for more information on using the ListDatasets // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListModelsRequest method. -// req, resp := client.ListModelsRequest(params) +// // Example sending a request using the ListDatasetsRequest method. +// req, resp := client.ListDatasetsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModels -func (c *LookoutEquipment) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDatasets +func (c *LookoutEquipment) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) { op := &request.Operation{ - Name: opListModels, + Name: opListDatasets, HTTPMethod: "POST", HTTPPath: "/", Paginator: &request.Paginator{ @@ -1811,25 +1789,25 @@ func (c *LookoutEquipment) ListModelsRequest(input *ListModelsInput) (req *reque } if input == nil { - input = &ListModelsInput{} + input = &ListDatasetsInput{} } - output = &ListModelsOutput{} + output = &ListDatasetsOutput{} req = c.newRequest(op, input, output) return } -// ListModels API operation for Amazon Lookout for Equipment. +// ListDatasets API operation for Amazon Lookout for Equipment. // -// Generates a list of all models in the account, including model name and ARN, -// dataset, and status. +// Lists all datasets currently available in your account, filtering on the +// dataset name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation ListModels for usage and error information. +// API operation ListDatasets for usage and error information. // // Returned Error Types: // @@ -1848,64 +1826,64 @@ func (c *LookoutEquipment) ListModelsRequest(input *ListModelsInput) (req *reque // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModels -func (c *LookoutEquipment) ListModels(input *ListModelsInput) (*ListModelsOutput, error) { - req, out := c.ListModelsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDatasets +func (c *LookoutEquipment) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) { + req, out := c.ListDatasetsRequest(input) return out, req.Send() } -// ListModelsWithContext is the same as ListModels with the addition of +// ListDatasetsWithContext is the same as ListDatasets with the addition of // the ability to pass a context and additional request options. // -// See ListModels for details on how to use this API operation. +// See ListDatasets for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error) { - req, out := c.ListModelsRequest(input) +func (c *LookoutEquipment) ListDatasetsWithContext(ctx aws.Context, input *ListDatasetsInput, opts ...request.Option) (*ListDatasetsOutput, error) { + req, out := c.ListDatasetsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListModelsPages iterates over the pages of a ListModels operation, +// ListDatasetsPages iterates over the pages of a ListDatasets operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListModels method for more information on how to use this operation. +// See ListDatasets method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModels operation. +// // Example iterating over at most 3 pages of a ListDatasets operation. // pageNum := 0 -// err := client.ListModelsPages(params, -// func(page *lookoutequipment.ListModelsOutput, lastPage bool) bool { +// err := client.ListDatasetsPages(params, +// func(page *lookoutequipment.ListDatasetsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *LookoutEquipment) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error { - return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *LookoutEquipment) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error { + return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListModelsPagesWithContext same as ListModelsPages except +// ListDatasetsPagesWithContext same as ListDatasetsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error { +func (c *LookoutEquipment) ListDatasetsPagesWithContext(ctx aws.Context, input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListModelsInput + var inCpy *ListDatasetsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListModelsRequest(inCpy) + req, _ := c.ListDatasetsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -1913,7 +1891,7 @@ func (c *LookoutEquipment) ListModelsPagesWithContext(ctx aws.Context, input *Li } for p.Next() { - if !fn(p.Page().(*ListModelsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListDatasetsOutput), !p.HasNextPage()) { break } } @@ -1921,34 +1899,34 @@ func (c *LookoutEquipment) ListModelsPagesWithContext(ctx aws.Context, input *Li return p.Err() } -const opListSensorStatistics = "ListSensorStatistics" +const opListInferenceEvents = "ListInferenceEvents" -// ListSensorStatisticsRequest generates a "aws/request.Request" representing the -// client's request for the ListSensorStatistics operation. The "output" return +// ListInferenceEventsRequest generates a "aws/request.Request" representing the +// client's request for the ListInferenceEvents operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListSensorStatistics for more information on using the ListSensorStatistics +// See ListInferenceEvents for more information on using the ListInferenceEvents // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListSensorStatisticsRequest method. -// req, resp := client.ListSensorStatisticsRequest(params) +// // Example sending a request using the ListInferenceEventsRequest method. +// req, resp := client.ListInferenceEventsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListSensorStatistics -func (c *LookoutEquipment) ListSensorStatisticsRequest(input *ListSensorStatisticsInput) (req *request.Request, output *ListSensorStatisticsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceEvents +func (c *LookoutEquipment) ListInferenceEventsRequest(input *ListInferenceEventsInput) (req *request.Request, output *ListInferenceEventsOutput) { op := &request.Operation{ - Name: opListSensorStatistics, + Name: opListInferenceEvents, HTTPMethod: "POST", HTTPPath: "/", Paginator: &request.Paginator{ @@ -1960,26 +1938,25 @@ func (c *LookoutEquipment) ListSensorStatisticsRequest(input *ListSensorStatisti } if input == nil { - input = &ListSensorStatisticsInput{} + input = &ListInferenceEventsInput{} } - output = &ListSensorStatisticsOutput{} + output = &ListInferenceEventsOutput{} req = c.newRequest(op, input, output) return } -// ListSensorStatistics API operation for Amazon Lookout for Equipment. +// ListInferenceEvents API operation for Amazon Lookout for Equipment. // -// Lists statistics about the data collected for each of the sensors that have -// been successfully ingested in the particular dataset. Can also be used to -// retreive Sensor Statistics for a previous ingestion job. +// Lists all inference events that have been found for the specified inference +// scheduler. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation ListSensorStatistics for usage and error information. +// API operation ListInferenceEvents for usage and error information. // // Returned Error Types: // @@ -1987,13 +1964,13 @@ func (c *LookoutEquipment) ListSensorStatisticsRequest(input *ListSensorStatisti // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // +// - ThrottlingException +// The request was denied due to request throttling. +// // - ResourceNotFoundException // The resource requested could not be found. Verify the resource ID and retry // your request. // -// - ThrottlingException -// The request was denied due to request throttling. -// // - AccessDeniedException // The request could not be completed because you do not have access to the // resource. @@ -2002,64 +1979,64 @@ func (c *LookoutEquipment) ListSensorStatisticsRequest(input *ListSensorStatisti // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListSensorStatistics -func (c *LookoutEquipment) ListSensorStatistics(input *ListSensorStatisticsInput) (*ListSensorStatisticsOutput, error) { - req, out := c.ListSensorStatisticsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceEvents +func (c *LookoutEquipment) ListInferenceEvents(input *ListInferenceEventsInput) (*ListInferenceEventsOutput, error) { + req, out := c.ListInferenceEventsRequest(input) return out, req.Send() } -// ListSensorStatisticsWithContext is the same as ListSensorStatistics with the addition of +// ListInferenceEventsWithContext is the same as ListInferenceEvents with the addition of // the ability to pass a context and additional request options. // -// See ListSensorStatistics for details on how to use this API operation. +// See ListInferenceEvents for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListSensorStatisticsWithContext(ctx aws.Context, input *ListSensorStatisticsInput, opts ...request.Option) (*ListSensorStatisticsOutput, error) { - req, out := c.ListSensorStatisticsRequest(input) +func (c *LookoutEquipment) ListInferenceEventsWithContext(ctx aws.Context, input *ListInferenceEventsInput, opts ...request.Option) (*ListInferenceEventsOutput, error) { + req, out := c.ListInferenceEventsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListSensorStatisticsPages iterates over the pages of a ListSensorStatistics operation, +// ListInferenceEventsPages iterates over the pages of a ListInferenceEvents operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListSensorStatistics method for more information on how to use this operation. +// See ListInferenceEvents method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSensorStatistics operation. +// // Example iterating over at most 3 pages of a ListInferenceEvents operation. // pageNum := 0 -// err := client.ListSensorStatisticsPages(params, -// func(page *lookoutequipment.ListSensorStatisticsOutput, lastPage bool) bool { +// err := client.ListInferenceEventsPages(params, +// func(page *lookoutequipment.ListInferenceEventsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *LookoutEquipment) ListSensorStatisticsPages(input *ListSensorStatisticsInput, fn func(*ListSensorStatisticsOutput, bool) bool) error { - return c.ListSensorStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *LookoutEquipment) ListInferenceEventsPages(input *ListInferenceEventsInput, fn func(*ListInferenceEventsOutput, bool) bool) error { + return c.ListInferenceEventsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListSensorStatisticsPagesWithContext same as ListSensorStatisticsPages except +// ListInferenceEventsPagesWithContext same as ListInferenceEventsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListSensorStatisticsPagesWithContext(ctx aws.Context, input *ListSensorStatisticsInput, fn func(*ListSensorStatisticsOutput, bool) bool, opts ...request.Option) error { +func (c *LookoutEquipment) ListInferenceEventsPagesWithContext(ctx aws.Context, input *ListInferenceEventsInput, fn func(*ListInferenceEventsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListSensorStatisticsInput + var inCpy *ListInferenceEventsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListSensorStatisticsRequest(inCpy) + req, _ := c.ListInferenceEventsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -2067,7 +2044,7 @@ func (c *LookoutEquipment) ListSensorStatisticsPagesWithContext(ctx aws.Context, } for p.Next() { - if !fn(p.Page().(*ListSensorStatisticsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListInferenceEventsOutput), !p.HasNextPage()) { break } } @@ -2075,57 +2052,64 @@ func (c *LookoutEquipment) ListSensorStatisticsPagesWithContext(ctx aws.Context, return p.Err() } -const opListTagsForResource = "ListTagsForResource" +const opListInferenceExecutions = "ListInferenceExecutions" -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// ListInferenceExecutionsRequest generates a "aws/request.Request" representing the +// client's request for the ListInferenceExecutions operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListTagsForResource for more information on using the ListTagsForResource +// See ListInferenceExecutions for more information on using the ListInferenceExecutions // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) +// // Example sending a request using the ListInferenceExecutionsRequest method. +// req, resp := client.ListInferenceExecutionsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListTagsForResource -func (c *LookoutEquipment) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceExecutions +func (c *LookoutEquipment) ListInferenceExecutionsRequest(input *ListInferenceExecutionsInput) (req *request.Request, output *ListInferenceExecutionsOutput) { op := &request.Operation{ - Name: opListTagsForResource, + Name: opListInferenceExecutions, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &ListTagsForResourceInput{} + input = &ListInferenceExecutionsInput{} } - output = &ListTagsForResourceOutput{} + output = &ListInferenceExecutionsOutput{} req = c.newRequest(op, input, output) return } -// ListTagsForResource API operation for Amazon Lookout for Equipment. +// ListInferenceExecutions API operation for Amazon Lookout for Equipment. // -// Lists all the tags for a specified resource, including key and value. +// Lists all inference executions that have been performed by the specified +// inference scheduler. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation ListTagsForResource for usage and error information. +// API operation ListInferenceExecutions for usage and error information. // // Returned Error Types: // @@ -2133,13 +2117,13 @@ func (c *LookoutEquipment) ListTagsForResourceRequest(input *ListTagsForResource // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // +// - ThrottlingException +// The request was denied due to request throttling. +// // - ResourceNotFoundException // The resource requested could not be found. Verify the resource ID and retry // your request. // -// - ThrottlingException -// The request was denied due to request throttling. -// // - AccessDeniedException // The request could not be completed because you do not have access to the // resource. @@ -2148,80 +2132,137 @@ func (c *LookoutEquipment) ListTagsForResourceRequest(input *ListTagsForResource // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListTagsForResource -func (c *LookoutEquipment) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceExecutions +func (c *LookoutEquipment) ListInferenceExecutions(input *ListInferenceExecutionsInput) (*ListInferenceExecutionsOutput, error) { + req, out := c.ListInferenceExecutionsRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// ListInferenceExecutionsWithContext is the same as ListInferenceExecutions with the addition of // the ability to pass a context and additional request options. // -// See ListTagsForResource for details on how to use this API operation. +// See ListInferenceExecutions for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *LookoutEquipment) ListInferenceExecutionsWithContext(ctx aws.Context, input *ListInferenceExecutionsInput, opts ...request.Option) (*ListInferenceExecutionsOutput, error) { + req, out := c.ListInferenceExecutionsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartDataIngestionJob = "StartDataIngestionJob" +// ListInferenceExecutionsPages iterates over the pages of a ListInferenceExecutions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListInferenceExecutions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListInferenceExecutions operation. +// pageNum := 0 +// err := client.ListInferenceExecutionsPages(params, +// func(page *lookoutequipment.ListInferenceExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *LookoutEquipment) ListInferenceExecutionsPages(input *ListInferenceExecutionsInput, fn func(*ListInferenceExecutionsOutput, bool) bool) error { + return c.ListInferenceExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// StartDataIngestionJobRequest generates a "aws/request.Request" representing the -// client's request for the StartDataIngestionJob operation. The "output" return +// ListInferenceExecutionsPagesWithContext same as ListInferenceExecutionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) ListInferenceExecutionsPagesWithContext(ctx aws.Context, input *ListInferenceExecutionsInput, fn func(*ListInferenceExecutionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListInferenceExecutionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListInferenceExecutionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListInferenceExecutionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListInferenceSchedulers = "ListInferenceSchedulers" + +// ListInferenceSchedulersRequest generates a "aws/request.Request" representing the +// client's request for the ListInferenceSchedulers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartDataIngestionJob for more information on using the StartDataIngestionJob +// See ListInferenceSchedulers for more information on using the ListInferenceSchedulers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StartDataIngestionJobRequest method. -// req, resp := client.StartDataIngestionJobRequest(params) +// // Example sending a request using the ListInferenceSchedulersRequest method. +// req, resp := client.ListInferenceSchedulersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartDataIngestionJob -func (c *LookoutEquipment) StartDataIngestionJobRequest(input *StartDataIngestionJobInput) (req *request.Request, output *StartDataIngestionJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceSchedulers +func (c *LookoutEquipment) ListInferenceSchedulersRequest(input *ListInferenceSchedulersInput) (req *request.Request, output *ListInferenceSchedulersOutput) { op := &request.Operation{ - Name: opStartDataIngestionJob, + Name: opListInferenceSchedulers, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &StartDataIngestionJobInput{} + input = &ListInferenceSchedulersInput{} } - output = &StartDataIngestionJobOutput{} + output = &ListInferenceSchedulersOutput{} req = c.newRequest(op, input, output) return } -// StartDataIngestionJob API operation for Amazon Lookout for Equipment. +// ListInferenceSchedulers API operation for Amazon Lookout for Equipment. // -// Starts a data ingestion job. Amazon Lookout for Equipment returns the job -// status. +// Retrieves a list of all inference schedulers currently available for your +// account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation StartDataIngestionJob for usage and error information. +// API operation ListInferenceSchedulers for usage and error information. // // Returned Error Types: // @@ -2229,20 +2270,9 @@ func (c *LookoutEquipment) StartDataIngestionJobRequest(input *StartDataIngestio // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // -// - ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. -// -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. -// // - ThrottlingException // The request was denied due to request throttling. // -// - ServiceQuotaExceededException -// Resource limitations have been exceeded. -// // - AccessDeniedException // The request could not be completed because you do not have access to the // resource. @@ -2251,79 +2281,136 @@ func (c *LookoutEquipment) StartDataIngestionJobRequest(input *StartDataIngestio // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartDataIngestionJob -func (c *LookoutEquipment) StartDataIngestionJob(input *StartDataIngestionJobInput) (*StartDataIngestionJobOutput, error) { - req, out := c.StartDataIngestionJobRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceSchedulers +func (c *LookoutEquipment) ListInferenceSchedulers(input *ListInferenceSchedulersInput) (*ListInferenceSchedulersOutput, error) { + req, out := c.ListInferenceSchedulersRequest(input) return out, req.Send() } -// StartDataIngestionJobWithContext is the same as StartDataIngestionJob with the addition of +// ListInferenceSchedulersWithContext is the same as ListInferenceSchedulers with the addition of // the ability to pass a context and additional request options. // -// See StartDataIngestionJob for details on how to use this API operation. +// See ListInferenceSchedulers for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) StartDataIngestionJobWithContext(ctx aws.Context, input *StartDataIngestionJobInput, opts ...request.Option) (*StartDataIngestionJobOutput, error) { - req, out := c.StartDataIngestionJobRequest(input) +func (c *LookoutEquipment) ListInferenceSchedulersWithContext(ctx aws.Context, input *ListInferenceSchedulersInput, opts ...request.Option) (*ListInferenceSchedulersOutput, error) { + req, out := c.ListInferenceSchedulersRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartInferenceScheduler = "StartInferenceScheduler" +// ListInferenceSchedulersPages iterates over the pages of a ListInferenceSchedulers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListInferenceSchedulers method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListInferenceSchedulers operation. +// pageNum := 0 +// err := client.ListInferenceSchedulersPages(params, +// func(page *lookoutequipment.ListInferenceSchedulersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *LookoutEquipment) ListInferenceSchedulersPages(input *ListInferenceSchedulersInput, fn func(*ListInferenceSchedulersOutput, bool) bool) error { + return c.ListInferenceSchedulersPagesWithContext(aws.BackgroundContext(), input, fn) +} -// StartInferenceSchedulerRequest generates a "aws/request.Request" representing the -// client's request for the StartInferenceScheduler operation. The "output" return +// ListInferenceSchedulersPagesWithContext same as ListInferenceSchedulersPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) ListInferenceSchedulersPagesWithContext(ctx aws.Context, input *ListInferenceSchedulersInput, fn func(*ListInferenceSchedulersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListInferenceSchedulersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListInferenceSchedulersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListInferenceSchedulersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListLabelGroups = "ListLabelGroups" + +// ListLabelGroupsRequest generates a "aws/request.Request" representing the +// client's request for the ListLabelGroups operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartInferenceScheduler for more information on using the StartInferenceScheduler +// See ListLabelGroups for more information on using the ListLabelGroups // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StartInferenceSchedulerRequest method. -// req, resp := client.StartInferenceSchedulerRequest(params) +// // Example sending a request using the ListLabelGroupsRequest method. +// req, resp := client.ListLabelGroupsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartInferenceScheduler -func (c *LookoutEquipment) StartInferenceSchedulerRequest(input *StartInferenceSchedulerInput) (req *request.Request, output *StartInferenceSchedulerOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListLabelGroups +func (c *LookoutEquipment) ListLabelGroupsRequest(input *ListLabelGroupsInput) (req *request.Request, output *ListLabelGroupsOutput) { op := &request.Operation{ - Name: opStartInferenceScheduler, + Name: opListLabelGroups, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &StartInferenceSchedulerInput{} + input = &ListLabelGroupsInput{} } - output = &StartInferenceSchedulerOutput{} + output = &ListLabelGroupsOutput{} req = c.newRequest(op, input, output) return } -// StartInferenceScheduler API operation for Amazon Lookout for Equipment. +// ListLabelGroups API operation for Amazon Lookout for Equipment. // -// Starts an inference scheduler. +// Returns a list of the label groups. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation StartInferenceScheduler for usage and error information. +// API operation ListLabelGroups for usage and error information. // // Returned Error Types: // @@ -2331,14 +2418,6 @@ func (c *LookoutEquipment) StartInferenceSchedulerRequest(input *StartInferenceS // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. -// -// - ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. -// // - ThrottlingException // The request was denied due to request throttling. // @@ -2350,79 +2429,136 @@ func (c *LookoutEquipment) StartInferenceSchedulerRequest(input *StartInferenceS // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartInferenceScheduler -func (c *LookoutEquipment) StartInferenceScheduler(input *StartInferenceSchedulerInput) (*StartInferenceSchedulerOutput, error) { - req, out := c.StartInferenceSchedulerRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListLabelGroups +func (c *LookoutEquipment) ListLabelGroups(input *ListLabelGroupsInput) (*ListLabelGroupsOutput, error) { + req, out := c.ListLabelGroupsRequest(input) return out, req.Send() } -// StartInferenceSchedulerWithContext is the same as StartInferenceScheduler with the addition of +// ListLabelGroupsWithContext is the same as ListLabelGroups with the addition of // the ability to pass a context and additional request options. // -// See StartInferenceScheduler for details on how to use this API operation. +// See ListLabelGroups for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) StartInferenceSchedulerWithContext(ctx aws.Context, input *StartInferenceSchedulerInput, opts ...request.Option) (*StartInferenceSchedulerOutput, error) { - req, out := c.StartInferenceSchedulerRequest(input) +func (c *LookoutEquipment) ListLabelGroupsWithContext(ctx aws.Context, input *ListLabelGroupsInput, opts ...request.Option) (*ListLabelGroupsOutput, error) { + req, out := c.ListLabelGroupsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStopInferenceScheduler = "StopInferenceScheduler" +// ListLabelGroupsPages iterates over the pages of a ListLabelGroups operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListLabelGroups method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListLabelGroups operation. +// pageNum := 0 +// err := client.ListLabelGroupsPages(params, +// func(page *lookoutequipment.ListLabelGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *LookoutEquipment) ListLabelGroupsPages(input *ListLabelGroupsInput, fn func(*ListLabelGroupsOutput, bool) bool) error { + return c.ListLabelGroupsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// StopInferenceSchedulerRequest generates a "aws/request.Request" representing the -// client's request for the StopInferenceScheduler operation. The "output" return +// ListLabelGroupsPagesWithContext same as ListLabelGroupsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) ListLabelGroupsPagesWithContext(ctx aws.Context, input *ListLabelGroupsInput, fn func(*ListLabelGroupsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListLabelGroupsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListLabelGroupsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListLabelGroupsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListLabels = "ListLabels" + +// ListLabelsRequest generates a "aws/request.Request" representing the +// client's request for the ListLabels operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StopInferenceScheduler for more information on using the StopInferenceScheduler +// See ListLabels for more information on using the ListLabels // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StopInferenceSchedulerRequest method. -// req, resp := client.StopInferenceSchedulerRequest(params) +// // Example sending a request using the ListLabelsRequest method. +// req, resp := client.ListLabelsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StopInferenceScheduler -func (c *LookoutEquipment) StopInferenceSchedulerRequest(input *StopInferenceSchedulerInput) (req *request.Request, output *StopInferenceSchedulerOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListLabels +func (c *LookoutEquipment) ListLabelsRequest(input *ListLabelsInput) (req *request.Request, output *ListLabelsOutput) { op := &request.Operation{ - Name: opStopInferenceScheduler, + Name: opListLabels, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &StopInferenceSchedulerInput{} + input = &ListLabelsInput{} } - output = &StopInferenceSchedulerOutput{} + output = &ListLabelsOutput{} req = c.newRequest(op, input, output) return } -// StopInferenceScheduler API operation for Amazon Lookout for Equipment. +// ListLabels API operation for Amazon Lookout for Equipment. // -// Stops an inference scheduler. +// Provides a list of labels. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation StopInferenceScheduler for usage and error information. +// API operation ListLabels for usage and error information. // // Returned Error Types: // @@ -2430,14 +2566,6 @@ func (c *LookoutEquipment) StopInferenceSchedulerRequest(input *StopInferenceSch // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. -// -// - ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. -// // - ThrottlingException // The request was denied due to request throttling. // @@ -2449,84 +2577,137 @@ func (c *LookoutEquipment) StopInferenceSchedulerRequest(input *StopInferenceSch // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StopInferenceScheduler -func (c *LookoutEquipment) StopInferenceScheduler(input *StopInferenceSchedulerInput) (*StopInferenceSchedulerOutput, error) { - req, out := c.StopInferenceSchedulerRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListLabels +func (c *LookoutEquipment) ListLabels(input *ListLabelsInput) (*ListLabelsOutput, error) { + req, out := c.ListLabelsRequest(input) return out, req.Send() } -// StopInferenceSchedulerWithContext is the same as StopInferenceScheduler with the addition of +// ListLabelsWithContext is the same as ListLabels with the addition of // the ability to pass a context and additional request options. // -// See StopInferenceScheduler for details on how to use this API operation. +// See ListLabels for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) StopInferenceSchedulerWithContext(ctx aws.Context, input *StopInferenceSchedulerInput, opts ...request.Option) (*StopInferenceSchedulerOutput, error) { - req, out := c.StopInferenceSchedulerRequest(input) +func (c *LookoutEquipment) ListLabelsWithContext(ctx aws.Context, input *ListLabelsInput, opts ...request.Option) (*ListLabelsOutput, error) { + req, out := c.ListLabelsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTagResource = "TagResource" +// ListLabelsPages iterates over the pages of a ListLabels operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListLabels method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListLabels operation. +// pageNum := 0 +// err := client.ListLabelsPages(params, +// func(page *lookoutequipment.ListLabelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *LookoutEquipment) ListLabelsPages(input *ListLabelsInput, fn func(*ListLabelsOutput, bool) bool) error { + return c.ListLabelsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return +// ListLabelsPagesWithContext same as ListLabelsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) ListLabelsPagesWithContext(ctx aws.Context, input *ListLabelsInput, fn func(*ListLabelsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListLabelsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListLabelsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListLabelsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListModels = "ListModels" + +// ListModelsRequest generates a "aws/request.Request" representing the +// client's request for the ListModels operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TagResource for more information on using the TagResource +// See ListModels for more information on using the ListModels // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) +// // Example sending a request using the ListModelsRequest method. +// req, resp := client.ListModelsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/TagResource -func (c *LookoutEquipment) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModels +func (c *LookoutEquipment) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) { op := &request.Operation{ - Name: opTagResource, + Name: opListModels, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &TagResourceInput{} + input = &ListModelsInput{} } - output = &TagResourceOutput{} + output = &ListModelsOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for Amazon Lookout for Equipment. +// ListModels API operation for Amazon Lookout for Equipment. // -// Associates a given tag to a resource in your account. A tag is a key-value -// pair which can be added to an Amazon Lookout for Equipment resource as metadata. -// Tags can be used for organizing your resources as well as helping you to -// search and filter by tag. Multiple tags can be added to a resource, either -// when you create it, or later. Up to 50 tags can be associated with each resource. +// Generates a list of all models in the account, including model name and ARN, +// dataset, and status. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation TagResource for usage and error information. +// API operation ListModels for usage and error information. // // Returned Error Types: // @@ -2534,13 +2715,6 @@ func (c *LookoutEquipment) TagResourceRequest(input *TagResourceInput) (req *req // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. // -// - ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. -// -// - ServiceQuotaExceededException -// Resource limitations have been exceeded. -// // - ThrottlingException // The request was denied due to request throttling. // @@ -2552,81 +2726,138 @@ func (c *LookoutEquipment) TagResourceRequest(input *TagResourceInput) (req *req // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/TagResource -func (c *LookoutEquipment) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModels +func (c *LookoutEquipment) ListModels(input *ListModelsInput) (*ListModelsOutput, error) { + req, out := c.ListModelsRequest(input) return out, req.Send() } -// TagResourceWithContext is the same as TagResource with the addition of +// ListModelsWithContext is the same as ListModels with the addition of // the ability to pass a context and additional request options. // -// See TagResource for details on how to use this API operation. +// See ListModels for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +func (c *LookoutEquipment) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error) { + req, out := c.ListModelsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUntagResource = "UntagResource" +// ListModelsPages iterates over the pages of a ListModels operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListModels method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListModels operation. +// pageNum := 0 +// err := client.ListModelsPages(params, +// func(page *lookoutequipment.ListModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *LookoutEquipment) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error { + return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return +// ListModelsPagesWithContext same as ListModelsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListModelsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListModelsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListModelsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListSensorStatistics = "ListSensorStatistics" + +// ListSensorStatisticsRequest generates a "aws/request.Request" representing the +// client's request for the ListSensorStatistics operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UntagResource for more information on using the UntagResource +// See ListSensorStatistics for more information on using the ListSensorStatistics // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) +// // Example sending a request using the ListSensorStatisticsRequest method. +// req, resp := client.ListSensorStatisticsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UntagResource -func (c *LookoutEquipment) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListSensorStatistics +func (c *LookoutEquipment) ListSensorStatisticsRequest(input *ListSensorStatisticsInput) (req *request.Request, output *ListSensorStatisticsOutput) { op := &request.Operation{ - Name: opUntagResource, + Name: opListSensorStatistics, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &UntagResourceInput{} + input = &ListSensorStatisticsInput{} } - output = &UntagResourceOutput{} + output = &ListSensorStatisticsOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UntagResource API operation for Amazon Lookout for Equipment. +// ListSensorStatistics API operation for Amazon Lookout for Equipment. // -// Removes a specific tag from a given resource. The tag is specified by its -// key. +// Lists statistics about the data collected for each of the sensors that have +// been successfully ingested in the particular dataset. Can also be used to +// retreive Sensor Statistics for a previous ingestion job. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation UntagResource for usage and error information. +// API operation ListSensorStatistics for usage and error information. // // Returned Error Types: // @@ -2649,135 +2880,1466 @@ func (c *LookoutEquipment) UntagResourceRequest(input *UntagResourceInput) (req // Processing of the request has failed because of an unknown error, exception // or failure. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UntagResource -func (c *LookoutEquipment) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListSensorStatistics +func (c *LookoutEquipment) ListSensorStatistics(input *ListSensorStatisticsInput) (*ListSensorStatisticsOutput, error) { + req, out := c.ListSensorStatisticsRequest(input) return out, req.Send() } -// UntagResourceWithContext is the same as UntagResource with the addition of +// ListSensorStatisticsWithContext is the same as ListSensorStatistics with the addition of // the ability to pass a context and additional request options. // -// See UntagResource for details on how to use this API operation. +// See ListSensorStatistics for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *LookoutEquipment) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +func (c *LookoutEquipment) ListSensorStatisticsWithContext(ctx aws.Context, input *ListSensorStatisticsInput, opts ...request.Option) (*ListSensorStatisticsOutput, error) { + req, out := c.ListSensorStatisticsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateInferenceScheduler = "UpdateInferenceScheduler" - -// UpdateInferenceSchedulerRequest generates a "aws/request.Request" representing the -// client's request for the UpdateInferenceScheduler operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. +// ListSensorStatisticsPages iterates over the pages of a ListSensorStatistics operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. // -// See UpdateInferenceScheduler for more information on using the UpdateInferenceScheduler -// API call, and error handling. +// See ListSensorStatistics method for more information on how to use this operation. // -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// Note: This operation can generate multiple requests to a service. // -// // Example sending a request using the UpdateInferenceSchedulerRequest method. -// req, resp := client.UpdateInferenceSchedulerRequest(params) +// // Example iterating over at most 3 pages of a ListSensorStatistics operation. +// pageNum := 0 +// err := client.ListSensorStatisticsPages(params, +// func(page *lookoutequipment.ListSensorStatisticsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *LookoutEquipment) ListSensorStatisticsPages(input *ListSensorStatisticsInput, fn func(*ListSensorStatisticsOutput, bool) bool) error { + return c.ListSensorStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSensorStatisticsPagesWithContext same as ListSensorStatisticsPages except +// it takes a Context and allows setting request options on the pages. // -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) ListSensorStatisticsPagesWithContext(ctx aws.Context, input *ListSensorStatisticsInput, fn func(*ListSensorStatisticsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSensorStatisticsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSensorStatisticsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSensorStatisticsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateInferenceScheduler -func (c *LookoutEquipment) UpdateInferenceSchedulerRequest(input *UpdateInferenceSchedulerInput) (req *request.Request, output *UpdateInferenceSchedulerOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListTagsForResource +func (c *LookoutEquipment) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ - Name: opUpdateInferenceScheduler, + Name: opListTagsForResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for Amazon Lookout for Equipment. +// +// Lists all the tags for a specified resource, including key and value. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListTagsForResource +func (c *LookoutEquipment) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartDataIngestionJob = "StartDataIngestionJob" + +// StartDataIngestionJobRequest generates a "aws/request.Request" representing the +// client's request for the StartDataIngestionJob operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartDataIngestionJob for more information on using the StartDataIngestionJob +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartDataIngestionJobRequest method. +// req, resp := client.StartDataIngestionJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartDataIngestionJob +func (c *LookoutEquipment) StartDataIngestionJobRequest(input *StartDataIngestionJobInput) (req *request.Request, output *StartDataIngestionJobOutput) { + op := &request.Operation{ + Name: opStartDataIngestionJob, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartDataIngestionJobInput{} + } + + output = &StartDataIngestionJobOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartDataIngestionJob API operation for Amazon Lookout for Equipment. +// +// Starts a data ingestion job. Amazon Lookout for Equipment returns the job +// status. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation StartDataIngestionJob for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ServiceQuotaExceededException +// Resource limitations have been exceeded. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartDataIngestionJob +func (c *LookoutEquipment) StartDataIngestionJob(input *StartDataIngestionJobInput) (*StartDataIngestionJobOutput, error) { + req, out := c.StartDataIngestionJobRequest(input) + return out, req.Send() +} + +// StartDataIngestionJobWithContext is the same as StartDataIngestionJob with the addition of +// the ability to pass a context and additional request options. +// +// See StartDataIngestionJob for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) StartDataIngestionJobWithContext(ctx aws.Context, input *StartDataIngestionJobInput, opts ...request.Option) (*StartDataIngestionJobOutput, error) { + req, out := c.StartDataIngestionJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartInferenceScheduler = "StartInferenceScheduler" + +// StartInferenceSchedulerRequest generates a "aws/request.Request" representing the +// client's request for the StartInferenceScheduler operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartInferenceScheduler for more information on using the StartInferenceScheduler +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StartInferenceSchedulerRequest method. +// req, resp := client.StartInferenceSchedulerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartInferenceScheduler +func (c *LookoutEquipment) StartInferenceSchedulerRequest(input *StartInferenceSchedulerInput) (req *request.Request, output *StartInferenceSchedulerOutput) { + op := &request.Operation{ + Name: opStartInferenceScheduler, HTTPMethod: "POST", HTTPPath: "/", } - if input == nil { - input = &UpdateInferenceSchedulerInput{} - } + if input == nil { + input = &StartInferenceSchedulerInput{} + } + + output = &StartInferenceSchedulerOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartInferenceScheduler API operation for Amazon Lookout for Equipment. +// +// Starts an inference scheduler. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation StartInferenceScheduler for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartInferenceScheduler +func (c *LookoutEquipment) StartInferenceScheduler(input *StartInferenceSchedulerInput) (*StartInferenceSchedulerOutput, error) { + req, out := c.StartInferenceSchedulerRequest(input) + return out, req.Send() +} + +// StartInferenceSchedulerWithContext is the same as StartInferenceScheduler with the addition of +// the ability to pass a context and additional request options. +// +// See StartInferenceScheduler for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) StartInferenceSchedulerWithContext(ctx aws.Context, input *StartInferenceSchedulerInput, opts ...request.Option) (*StartInferenceSchedulerOutput, error) { + req, out := c.StartInferenceSchedulerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStopInferenceScheduler = "StopInferenceScheduler" + +// StopInferenceSchedulerRequest generates a "aws/request.Request" representing the +// client's request for the StopInferenceScheduler operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StopInferenceScheduler for more information on using the StopInferenceScheduler +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the StopInferenceSchedulerRequest method. +// req, resp := client.StopInferenceSchedulerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StopInferenceScheduler +func (c *LookoutEquipment) StopInferenceSchedulerRequest(input *StopInferenceSchedulerInput) (req *request.Request, output *StopInferenceSchedulerOutput) { + op := &request.Operation{ + Name: opStopInferenceScheduler, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StopInferenceSchedulerInput{} + } + + output = &StopInferenceSchedulerOutput{} + req = c.newRequest(op, input, output) + return +} + +// StopInferenceScheduler API operation for Amazon Lookout for Equipment. +// +// Stops an inference scheduler. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation StopInferenceScheduler for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StopInferenceScheduler +func (c *LookoutEquipment) StopInferenceScheduler(input *StopInferenceSchedulerInput) (*StopInferenceSchedulerOutput, error) { + req, out := c.StopInferenceSchedulerRequest(input) + return out, req.Send() +} + +// StopInferenceSchedulerWithContext is the same as StopInferenceScheduler with the addition of +// the ability to pass a context and additional request options. +// +// See StopInferenceScheduler for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) StopInferenceSchedulerWithContext(ctx aws.Context, input *StopInferenceSchedulerInput, opts ...request.Option) (*StopInferenceSchedulerOutput, error) { + req, out := c.StopInferenceSchedulerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/TagResource +func (c *LookoutEquipment) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for Amazon Lookout for Equipment. +// +// Associates a given tag to a resource in your account. A tag is a key-value +// pair which can be added to an Amazon Lookout for Equipment resource as metadata. +// Tags can be used for organizing your resources as well as helping you to +// search and filter by tag. Multiple tags can be added to a resource, either +// when you create it, or later. Up to 50 tags can be associated with each resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ServiceQuotaExceededException +// Resource limitations have been exceeded. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/TagResource +func (c *LookoutEquipment) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UntagResource for more information on using the UntagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UntagResource +func (c *LookoutEquipment) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for Amazon Lookout for Equipment. +// +// Removes a specific tag from a given resource. The tag is specified by its +// key. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UntagResource +func (c *LookoutEquipment) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateInferenceScheduler = "UpdateInferenceScheduler" + +// UpdateInferenceSchedulerRequest generates a "aws/request.Request" representing the +// client's request for the UpdateInferenceScheduler operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateInferenceScheduler for more information on using the UpdateInferenceScheduler +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateInferenceSchedulerRequest method. +// req, resp := client.UpdateInferenceSchedulerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateInferenceScheduler +func (c *LookoutEquipment) UpdateInferenceSchedulerRequest(input *UpdateInferenceSchedulerInput) (req *request.Request, output *UpdateInferenceSchedulerOutput) { + op := &request.Operation{ + Name: opUpdateInferenceScheduler, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateInferenceSchedulerInput{} + } + + output = &UpdateInferenceSchedulerOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateInferenceScheduler API operation for Amazon Lookout for Equipment. +// +// Updates an inference scheduler. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation UpdateInferenceScheduler for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateInferenceScheduler +func (c *LookoutEquipment) UpdateInferenceScheduler(input *UpdateInferenceSchedulerInput) (*UpdateInferenceSchedulerOutput, error) { + req, out := c.UpdateInferenceSchedulerRequest(input) + return out, req.Send() +} + +// UpdateInferenceSchedulerWithContext is the same as UpdateInferenceScheduler with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateInferenceScheduler for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) UpdateInferenceSchedulerWithContext(ctx aws.Context, input *UpdateInferenceSchedulerInput, opts ...request.Option) (*UpdateInferenceSchedulerOutput, error) { + req, out := c.UpdateInferenceSchedulerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateLabelGroup = "UpdateLabelGroup" + +// UpdateLabelGroupRequest generates a "aws/request.Request" representing the +// client's request for the UpdateLabelGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateLabelGroup for more information on using the UpdateLabelGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateLabelGroupRequest method. +// req, resp := client.UpdateLabelGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateLabelGroup +func (c *LookoutEquipment) UpdateLabelGroupRequest(input *UpdateLabelGroupInput) (req *request.Request, output *UpdateLabelGroupOutput) { + op := &request.Operation{ + Name: opUpdateLabelGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateLabelGroupInput{} + } + + output = &UpdateLabelGroupOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateLabelGroup API operation for Amazon Lookout for Equipment. +// +// Updates the label group. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Lookout for Equipment's +// API operation UpdateLabelGroup for usage and error information. +// +// Returned Error Types: +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateLabelGroup +func (c *LookoutEquipment) UpdateLabelGroup(input *UpdateLabelGroupInput) (*UpdateLabelGroupOutput, error) { + req, out := c.UpdateLabelGroupRequest(input) + return out, req.Send() +} + +// UpdateLabelGroupWithContext is the same as UpdateLabelGroup with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateLabelGroup for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LookoutEquipment) UpdateLabelGroupWithContext(ctx aws.Context, input *UpdateLabelGroupInput, opts ...request.Option) (*UpdateLabelGroupOutput, error) { + req, out := c.UpdateLabelGroupRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// The request could not be completed because you do not have access to the +// resource. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *AccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Entity that comprises information on categorical values in data. +type CategoricalValues struct { + _ struct{} `type:"structure"` + + // Indicates the number of categories in the data. + NumberOfCategory *int64 `type:"integer"` + + // Indicates whether there is a potential data issue related to categorical + // values. + // + // Status is a required field + Status *string `type:"string" required:"true" enum:"StatisticalIssueStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CategoricalValues) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CategoricalValues) GoString() string { + return s.String() +} + +// SetNumberOfCategory sets the NumberOfCategory field's value. +func (s *CategoricalValues) SetNumberOfCategory(v int64) *CategoricalValues { + s.NumberOfCategory = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CategoricalValues) SetStatus(v string) *CategoricalValues { + s.Status = &v + return s +} + +// The request could not be completed due to a conflict with the current state +// of the target resource. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Entity that comprises information of count and percentage. +type CountPercent struct { + _ struct{} `type:"structure"` + + // Indicates the count of occurences of the given statistic. + // + // Count is a required field + Count *int64 `type:"integer" required:"true"` + + // Indicates the percentage of occurances of the given statistic. + // + // Percentage is a required field + Percentage *float64 `type:"float" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CountPercent) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CountPercent) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *CountPercent) SetCount(v int64) *CountPercent { + s.Count = &v + return s +} + +// SetPercentage sets the Percentage field's value. +func (s *CountPercent) SetPercentage(v float64) *CountPercent { + s.Percentage = &v + return s +} + +type CreateDatasetInput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the request. If you do not set the client request + // token, Amazon Lookout for Equipment generates one. + ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The name of the dataset being created. + // + // DatasetName is a required field + DatasetName *string `min:"1" type:"string" required:"true"` + + // A JSON description of the data that is in each time series dataset, including + // names, column names, and data types. + DatasetSchema *DatasetSchema `type:"structure"` + + // Provides the identifier of the KMS key used to encrypt dataset data by Amazon + // Lookout for Equipment. + ServerSideKmsKeyId *string `min:"1" type:"string"` + + // Any tags associated with the ingested data described in the dataset. + Tags []*Tag `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateDatasetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateDatasetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDatasetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDatasetInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.DatasetName == nil { + invalidParams.Add(request.NewErrParamRequired("DatasetName")) + } + if s.DatasetName != nil && len(*s.DatasetName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1)) + } + if s.ServerSideKmsKeyId != nil && len(*s.ServerSideKmsKeyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ServerSideKmsKeyId", 1)) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateDatasetInput) SetClientToken(v string) *CreateDatasetInput { + s.ClientToken = &v + return s +} + +// SetDatasetName sets the DatasetName field's value. +func (s *CreateDatasetInput) SetDatasetName(v string) *CreateDatasetInput { + s.DatasetName = &v + return s +} + +// SetDatasetSchema sets the DatasetSchema field's value. +func (s *CreateDatasetInput) SetDatasetSchema(v *DatasetSchema) *CreateDatasetInput { + s.DatasetSchema = v + return s +} + +// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. +func (s *CreateDatasetInput) SetServerSideKmsKeyId(v string) *CreateDatasetInput { + s.ServerSideKmsKeyId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateDatasetInput) SetTags(v []*Tag) *CreateDatasetInput { + s.Tags = v + return s +} + +type CreateDatasetOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the dataset being created. + DatasetArn *string `min:"20" type:"string"` + + // The name of the dataset being created. + DatasetName *string `min:"1" type:"string"` + + // Indicates the status of the CreateDataset operation. + Status *string `type:"string" enum:"DatasetStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateDatasetOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateDatasetOutput) GoString() string { + return s.String() +} + +// SetDatasetArn sets the DatasetArn field's value. +func (s *CreateDatasetOutput) SetDatasetArn(v string) *CreateDatasetOutput { + s.DatasetArn = &v + return s +} + +// SetDatasetName sets the DatasetName field's value. +func (s *CreateDatasetOutput) SetDatasetName(v string) *CreateDatasetOutput { + s.DatasetName = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateDatasetOutput) SetStatus(v string) *CreateDatasetOutput { + s.Status = &v + return s +} + +type CreateInferenceSchedulerInput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the request. If you do not set the client request + // token, Amazon Lookout for Equipment generates one. + ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The interval (in minutes) of planned delay at the start of each inference + // segment. For example, if inference is set to run every ten minutes, the delay + // is set to five minutes and the time is 09:08. The inference scheduler will + // wake up at the configured interval (which, without a delay configured, would + // be 09:10) plus the additional five minute delay time (so 09:15) to check + // your Amazon S3 bucket. The delay provides a buffer for you to upload data + // at the same frequency, so that you don't have to stop and restart the scheduler + // when uploading new data. + // + // For more information, see Understanding the inference process (https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-inference-process.html). + DataDelayOffsetInMinutes *int64 `type:"long"` + + // Specifies configuration information for the input data for the inference + // scheduler, including delimiter, format, and dataset location. + // + // DataInputConfiguration is a required field + DataInputConfiguration *InferenceInputConfiguration `type:"structure" required:"true"` + + // Specifies configuration information for the output results for the inference + // scheduler, including the S3 location for the output. + // + // DataOutputConfiguration is a required field + DataOutputConfiguration *InferenceOutputConfiguration `type:"structure" required:"true"` + + // How often data is uploaded to the source Amazon S3 bucket for the input data. + // The value chosen is the length of time between data uploads. For instance, + // if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time + // data to the source bucket once every 5 minutes. This frequency also determines + // how often Amazon Lookout for Equipment runs inference on your data. + // + // For more information, see Understanding the inference process (https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/understanding-inference-process.html). + // + // DataUploadFrequency is a required field + DataUploadFrequency *string `type:"string" required:"true" enum:"DataUploadFrequency"` + + // The name of the inference scheduler being created. + // + // InferenceSchedulerName is a required field + InferenceSchedulerName *string `min:"1" type:"string" required:"true"` + + // The name of the previously trained ML model being used to create the inference + // scheduler. + // + // ModelName is a required field + ModelName *string `min:"1" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of a role with permission to access the data + // source being used for the inference. + // + // RoleArn is a required field + RoleArn *string `min:"20" type:"string" required:"true"` + + // Provides the identifier of the KMS key used to encrypt inference scheduler + // data by Amazon Lookout for Equipment. + ServerSideKmsKeyId *string `min:"1" type:"string"` + + // Any tags associated with the inference scheduler. + Tags []*Tag `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateInferenceSchedulerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateInferenceSchedulerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateInferenceSchedulerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateInferenceSchedulerInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.DataInputConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("DataInputConfiguration")) + } + if s.DataOutputConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("DataOutputConfiguration")) + } + if s.DataUploadFrequency == nil { + invalidParams.Add(request.NewErrParamRequired("DataUploadFrequency")) + } + if s.InferenceSchedulerName == nil { + invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) + } + if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) + } + if s.ModelName == nil { + invalidParams.Add(request.NewErrParamRequired("ModelName")) + } + if s.ModelName != nil && len(*s.ModelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + if s.ServerSideKmsKeyId != nil && len(*s.ServerSideKmsKeyId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ServerSideKmsKeyId", 1)) + } + if s.DataInputConfiguration != nil { + if err := s.DataInputConfiguration.Validate(); err != nil { + invalidParams.AddNested("DataInputConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.DataOutputConfiguration != nil { + if err := s.DataOutputConfiguration.Validate(); err != nil { + invalidParams.AddNested("DataOutputConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateInferenceSchedulerInput) SetClientToken(v string) *CreateInferenceSchedulerInput { + s.ClientToken = &v + return s +} + +// SetDataDelayOffsetInMinutes sets the DataDelayOffsetInMinutes field's value. +func (s *CreateInferenceSchedulerInput) SetDataDelayOffsetInMinutes(v int64) *CreateInferenceSchedulerInput { + s.DataDelayOffsetInMinutes = &v + return s +} + +// SetDataInputConfiguration sets the DataInputConfiguration field's value. +func (s *CreateInferenceSchedulerInput) SetDataInputConfiguration(v *InferenceInputConfiguration) *CreateInferenceSchedulerInput { + s.DataInputConfiguration = v + return s +} + +// SetDataOutputConfiguration sets the DataOutputConfiguration field's value. +func (s *CreateInferenceSchedulerInput) SetDataOutputConfiguration(v *InferenceOutputConfiguration) *CreateInferenceSchedulerInput { + s.DataOutputConfiguration = v + return s +} - output = &UpdateInferenceSchedulerOutput{} - req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) - return +// SetDataUploadFrequency sets the DataUploadFrequency field's value. +func (s *CreateInferenceSchedulerInput) SetDataUploadFrequency(v string) *CreateInferenceSchedulerInput { + s.DataUploadFrequency = &v + return s } -// UpdateInferenceScheduler API operation for Amazon Lookout for Equipment. -// -// Updates an inference scheduler. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Lookout for Equipment's -// API operation UpdateInferenceScheduler for usage and error information. -// -// Returned Error Types: -// -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. -// -// - ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. -// -// - ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. -// -// - ThrottlingException -// The request was denied due to request throttling. -// -// - AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. -// -// - InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateInferenceScheduler -func (c *LookoutEquipment) UpdateInferenceScheduler(input *UpdateInferenceSchedulerInput) (*UpdateInferenceSchedulerOutput, error) { - req, out := c.UpdateInferenceSchedulerRequest(input) - return out, req.Send() +// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. +func (s *CreateInferenceSchedulerInput) SetInferenceSchedulerName(v string) *CreateInferenceSchedulerInput { + s.InferenceSchedulerName = &v + return s } -// UpdateInferenceSchedulerWithContext is the same as UpdateInferenceScheduler with the addition of -// the ability to pass a context and additional request options. -// -// See UpdateInferenceScheduler for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *LookoutEquipment) UpdateInferenceSchedulerWithContext(ctx aws.Context, input *UpdateInferenceSchedulerInput, opts ...request.Option) (*UpdateInferenceSchedulerOutput, error) { - req, out := c.UpdateInferenceSchedulerRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() +// SetModelName sets the ModelName field's value. +func (s *CreateInferenceSchedulerInput) SetModelName(v string) *CreateInferenceSchedulerInput { + s.ModelName = &v + return s } -// The request could not be completed because you do not have access to the -// resource. -type AccessDeniedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetRoleArn sets the RoleArn field's value. +func (s *CreateInferenceSchedulerInput) SetRoleArn(v string) *CreateInferenceSchedulerInput { + s.RoleArn = &v + return s +} - Message_ *string `locationName:"Message" min:"1" type:"string"` +// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. +func (s *CreateInferenceSchedulerInput) SetServerSideKmsKeyId(v string) *CreateInferenceSchedulerInput { + s.ServerSideKmsKeyId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateInferenceSchedulerInput) SetTags(v []*Tag) *CreateInferenceSchedulerInput { + s.Tags = v + return s +} + +type CreateInferenceSchedulerOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the inference scheduler being created. + InferenceSchedulerArn *string `min:"20" type:"string"` + + // The name of inference scheduler being created. + InferenceSchedulerName *string `min:"1" type:"string"` + + // Indicates the status of the CreateInferenceScheduler operation. + Status *string `type:"string" enum:"InferenceSchedulerStatus"` } // String returns the string representation. @@ -2785,7 +4347,7 @@ type AccessDeniedException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AccessDeniedException) String() string { +func (s CreateInferenceSchedulerOutput) String() string { return awsutil.Prettify(s) } @@ -2794,60 +4356,138 @@ func (s AccessDeniedException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AccessDeniedException) GoString() string { +func (s CreateInferenceSchedulerOutput) GoString() string { return s.String() } -func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { - return &AccessDeniedException{ - RespMetadata: v, - } +// SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value. +func (s *CreateInferenceSchedulerOutput) SetInferenceSchedulerArn(v string) *CreateInferenceSchedulerOutput { + s.InferenceSchedulerArn = &v + return s } -// Code returns the exception type name. -func (s *AccessDeniedException) Code() string { - return "AccessDeniedException" +// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. +func (s *CreateInferenceSchedulerOutput) SetInferenceSchedulerName(v string) *CreateInferenceSchedulerOutput { + s.InferenceSchedulerName = &v + return s } -// Message returns the exception's message. -func (s *AccessDeniedException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetStatus sets the Status field's value. +func (s *CreateInferenceSchedulerOutput) SetStatus(v string) *CreateInferenceSchedulerOutput { + s.Status = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *AccessDeniedException) OrigErr() error { +type CreateLabelGroupInput struct { + _ struct{} `type:"structure"` + + // A unique identifier for the request to create a label group. If you do not + // set the client request token, Lookout for Equipment generates one. + ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The acceptable fault codes (indicating the type of anomaly associated with + // the label) that can be used with this label group. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + FaultCodes []*string `type:"list"` + + // Names a group of labels. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + // + // LabelGroupName is a required field + LabelGroupName *string `min:"1" type:"string" required:"true"` + + // Tags that provide metadata about the label group you are creating. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + Tags []*Tag `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateLabelGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateLabelGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateLabelGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateLabelGroupInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.LabelGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("LabelGroupName")) + } + if s.LabelGroupName != nil && len(*s.LabelGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupName", 1)) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *AccessDeniedException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetClientToken sets the ClientToken field's value. +func (s *CreateLabelGroupInput) SetClientToken(v string) *CreateLabelGroupInput { + s.ClientToken = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *AccessDeniedException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetFaultCodes sets the FaultCodes field's value. +func (s *CreateLabelGroupInput) SetFaultCodes(v []*string) *CreateLabelGroupInput { + s.FaultCodes = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *AccessDeniedException) RequestID() string { - return s.RespMetadata.RequestID +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *CreateLabelGroupInput) SetLabelGroupName(v string) *CreateLabelGroupInput { + s.LabelGroupName = &v + return s } -// Entity that comprises information on categorical values in data. -type CategoricalValues struct { +// SetTags sets the Tags field's value. +func (s *CreateLabelGroupInput) SetTags(v []*Tag) *CreateLabelGroupInput { + s.Tags = v + return s +} + +type CreateLabelGroupOutput struct { _ struct{} `type:"structure"` - // Indicates the number of categories in the data. - NumberOfCategory *int64 `type:"integer"` + // The ARN of the label group that you have created. + LabelGroupArn *string `min:"20" type:"string"` - // Indicates whether there is a potential data issue related to categorical - // values. - // - // Status is a required field - Status *string `type:"string" required:"true" enum:"StatisticalIssueStatus"` + // The name of the label group that you have created. Data in this field will + // be retained for service usage. Follow best practices for the security of + // your data. + LabelGroupName *string `min:"1" type:"string"` } // String returns the string representation. @@ -2855,7 +4495,7 @@ type CategoricalValues struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CategoricalValues) String() string { +func (s CreateLabelGroupOutput) String() string { return awsutil.Prettify(s) } @@ -2864,29 +4504,70 @@ func (s CategoricalValues) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CategoricalValues) GoString() string { +func (s CreateLabelGroupOutput) GoString() string { return s.String() } -// SetNumberOfCategory sets the NumberOfCategory field's value. -func (s *CategoricalValues) SetNumberOfCategory(v int64) *CategoricalValues { - s.NumberOfCategory = &v +// SetLabelGroupArn sets the LabelGroupArn field's value. +func (s *CreateLabelGroupOutput) SetLabelGroupArn(v string) *CreateLabelGroupOutput { + s.LabelGroupArn = &v return s } -// SetStatus sets the Status field's value. -func (s *CategoricalValues) SetStatus(v string) *CategoricalValues { - s.Status = &v +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *CreateLabelGroupOutput) SetLabelGroupName(v string) *CreateLabelGroupOutput { + s.LabelGroupName = &v return s } -// The request could not be completed due to a conflict with the current state -// of the target resource. -type ConflictException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type CreateLabelInput struct { + _ struct{} `type:"structure"` - Message_ *string `locationName:"Message" min:"1" type:"string"` + // A unique identifier for the request to create a label. If you do not set + // the client request token, Lookout for Equipment generates one. + ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The end time of the labeled event. + // + // EndTime is a required field + EndTime *time.Time `type:"timestamp" required:"true"` + + // Indicates that a label pertains to a particular piece of equipment. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + Equipment *string `min:"1" type:"string"` + + // Provides additional information about the label. The fault code must be defined + // in the FaultCodes attribute of the label group. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + FaultCode *string `min:"1" type:"string"` + + // The name of a group of labels. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + // + // LabelGroupName is a required field + LabelGroupName *string `min:"1" type:"string" required:"true"` + + // Metadata providing additional information about the label. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + Notes *string `min:"1" type:"string"` + + // Indicates whether a labeled event represents an anomaly. + // + // Rating is a required field + Rating *string `type:"string" required:"true" enum:"LabelRating"` + + // The start time of the labeled event. + // + // StartTime is a required field + StartTime *time.Time `type:"timestamp" required:"true"` } // String returns the string representation. @@ -2894,7 +4575,7 @@ type ConflictException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ConflictException) String() string { +func (s CreateLabelInput) String() string { return awsutil.Prettify(s) } @@ -2903,61 +4584,100 @@ func (s ConflictException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ConflictException) GoString() string { +func (s CreateLabelInput) GoString() string { return s.String() } -func newErrorConflictException(v protocol.ResponseMetadata) error { - return &ConflictException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateLabelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateLabelInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.EndTime == nil { + invalidParams.Add(request.NewErrParamRequired("EndTime")) + } + if s.Equipment != nil && len(*s.Equipment) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Equipment", 1)) + } + if s.FaultCode != nil && len(*s.FaultCode) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FaultCode", 1)) + } + if s.LabelGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("LabelGroupName")) + } + if s.LabelGroupName != nil && len(*s.LabelGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupName", 1)) + } + if s.Notes != nil && len(*s.Notes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Notes", 1)) + } + if s.Rating == nil { + invalidParams.Add(request.NewErrParamRequired("Rating")) + } + if s.StartTime == nil { + invalidParams.Add(request.NewErrParamRequired("StartTime")) + } + + if invalidParams.Len() > 0 { + return invalidParams } + return nil } -// Code returns the exception type name. -func (s *ConflictException) Code() string { - return "ConflictException" +// SetClientToken sets the ClientToken field's value. +func (s *CreateLabelInput) SetClientToken(v string) *CreateLabelInput { + s.ClientToken = &v + return s } -// Message returns the exception's message. -func (s *ConflictException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetEndTime sets the EndTime field's value. +func (s *CreateLabelInput) SetEndTime(v time.Time) *CreateLabelInput { + s.EndTime = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ConflictException) OrigErr() error { - return nil +// SetEquipment sets the Equipment field's value. +func (s *CreateLabelInput) SetEquipment(v string) *CreateLabelInput { + s.Equipment = &v + return s } -func (s *ConflictException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetFaultCode sets the FaultCode field's value. +func (s *CreateLabelInput) SetFaultCode(v string) *CreateLabelInput { + s.FaultCode = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ConflictException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *CreateLabelInput) SetLabelGroupName(v string) *CreateLabelInput { + s.LabelGroupName = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ConflictException) RequestID() string { - return s.RespMetadata.RequestID +// SetNotes sets the Notes field's value. +func (s *CreateLabelInput) SetNotes(v string) *CreateLabelInput { + s.Notes = &v + return s } -// Entity that comprises information of count and percentage. -type CountPercent struct { - _ struct{} `type:"structure"` +// SetRating sets the Rating field's value. +func (s *CreateLabelInput) SetRating(v string) *CreateLabelInput { + s.Rating = &v + return s +} - // Indicates the count of occurences of the given statistic. - // - // Count is a required field - Count *int64 `type:"integer" required:"true"` +// SetStartTime sets the StartTime field's value. +func (s *CreateLabelInput) SetStartTime(v time.Time) *CreateLabelInput { + s.StartTime = &v + return s +} - // Indicates the percentage of occurances of the given statistic. - // - // Percentage is a required field - Percentage *float64 `type:"float" required:"true"` +type CreateLabelOutput struct { + _ struct{} `type:"structure"` + + // The ID of the label that you have created. + LabelId *string `type:"string"` } // String returns the string representation. @@ -2965,7 +4685,7 @@ type CountPercent struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CountPercent) String() string { +func (s CreateLabelOutput) String() string { return awsutil.Prettify(s) } @@ -2974,44 +4694,83 @@ func (s CountPercent) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CountPercent) GoString() string { +func (s CreateLabelOutput) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *CountPercent) SetCount(v int64) *CountPercent { - s.Count = &v - return s -} - -// SetPercentage sets the Percentage field's value. -func (s *CountPercent) SetPercentage(v float64) *CountPercent { - s.Percentage = &v +// SetLabelId sets the LabelId field's value. +func (s *CreateLabelOutput) SetLabelId(v string) *CreateLabelOutput { + s.LabelId = &v return s } -type CreateDatasetInput struct { +type CreateModelInput struct { _ struct{} `type:"structure"` // A unique identifier for the request. If you do not set the client request // token, Amazon Lookout for Equipment generates one. ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` - // The name of the dataset being created. + // The configuration is the TargetSamplingRate, which is the sampling rate of + // the data after post processing by Amazon Lookout for Equipment. For example, + // if you provide data that has been collected at a 1 second level and you want + // the system to resample the data at a 1 minute rate before training, the TargetSamplingRate + // is 1 minute. + // + // When providing a value for the TargetSamplingRate, you must attach the prefix + // "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, + // the value for a 15 minute rate is PT15M, and the value for a 1 hour rate + // is PT1H + DataPreProcessingConfiguration *DataPreProcessingConfiguration `type:"structure"` + + // The name of the dataset for the ML model being created. // // DatasetName is a required field DatasetName *string `min:"1" type:"string" required:"true"` - // A JSON description of the data that is in each time series dataset, including - // names, column names, and data types. + // The data schema for the ML model being created. DatasetSchema *DatasetSchema `type:"structure"` - // Provides the identifier of the KMS key used to encrypt dataset data by Amazon + // Indicates the time reference in the dataset that should be used to end the + // subset of evaluation data for the ML model. + EvaluationDataEndTime *time.Time `type:"timestamp"` + + // Indicates the time reference in the dataset that should be used to begin + // the subset of evaluation data for the ML model. + EvaluationDataStartTime *time.Time `type:"timestamp"` + + // The input configuration for the labels being used for the ML model that's + // being created. + LabelsInputConfiguration *LabelsInputConfiguration `type:"structure"` + + // The name for the ML model to be created. + // + // ModelName is a required field + ModelName *string `min:"1" type:"string" required:"true"` + + // Indicates that the asset associated with this sensor has been shut off. As + // long as this condition is met, Lookout for Equipment will not use data from + // this asset for training, evaluation, or inference. + OffCondition *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of a role with permission to access the data + // source being used to create the ML model. + RoleArn *string `min:"20" type:"string"` + + // Provides the identifier of the KMS key used to encrypt model data by Amazon // Lookout for Equipment. ServerSideKmsKeyId *string `min:"1" type:"string"` - // Any tags associated with the ingested data described in the dataset. + // Any tags associated with the ML model being created. Tags []*Tag `type:"list"` + + // Indicates the time reference in the dataset that should be used to end the + // subset of training data for the ML model. + TrainingDataEndTime *time.Time `type:"timestamp"` + + // Indicates the time reference in the dataset that should be used to begin + // the subset of training data for the ML model. + TrainingDataStartTime *time.Time `type:"timestamp"` } // String returns the string representation. @@ -3019,7 +4778,7 @@ type CreateDatasetInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateDatasetInput) String() string { +func (s CreateModelInput) String() string { return awsutil.Prettify(s) } @@ -3028,13 +4787,13 @@ func (s CreateDatasetInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateDatasetInput) GoString() string { +func (s CreateModelInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateDatasetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateDatasetInput"} +func (s *CreateModelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateModelInput"} if s.ClientToken != nil && len(*s.ClientToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) } @@ -3044,9 +4803,26 @@ func (s *CreateDatasetInput) Validate() error { if s.DatasetName != nil && len(*s.DatasetName) < 1 { invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1)) } + if s.ModelName == nil { + invalidParams.Add(request.NewErrParamRequired("ModelName")) + } + if s.ModelName != nil && len(*s.ModelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) + } + if s.OffCondition != nil && len(*s.OffCondition) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OffCondition", 1)) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } if s.ServerSideKmsKeyId != nil && len(*s.ServerSideKmsKeyId) < 1 { invalidParams.Add(request.NewErrParamMinLen("ServerSideKmsKeyId", 1)) } + if s.LabelsInputConfiguration != nil { + if err := s.LabelsInputConfiguration.Validate(); err != nil { + invalidParams.AddNested("LabelsInputConfiguration", err.(request.ErrInvalidParams)) + } + } if s.Tags != nil { for i, v := range s.Tags { if v == nil { @@ -3065,46 +4841,150 @@ func (s *CreateDatasetInput) Validate() error { } // SetClientToken sets the ClientToken field's value. -func (s *CreateDatasetInput) SetClientToken(v string) *CreateDatasetInput { +func (s *CreateModelInput) SetClientToken(v string) *CreateModelInput { s.ClientToken = &v return s } +// SetDataPreProcessingConfiguration sets the DataPreProcessingConfiguration field's value. +func (s *CreateModelInput) SetDataPreProcessingConfiguration(v *DataPreProcessingConfiguration) *CreateModelInput { + s.DataPreProcessingConfiguration = v + return s +} + // SetDatasetName sets the DatasetName field's value. -func (s *CreateDatasetInput) SetDatasetName(v string) *CreateDatasetInput { +func (s *CreateModelInput) SetDatasetName(v string) *CreateModelInput { s.DatasetName = &v return s } // SetDatasetSchema sets the DatasetSchema field's value. -func (s *CreateDatasetInput) SetDatasetSchema(v *DatasetSchema) *CreateDatasetInput { +func (s *CreateModelInput) SetDatasetSchema(v *DatasetSchema) *CreateModelInput { s.DatasetSchema = v return s } -// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. -func (s *CreateDatasetInput) SetServerSideKmsKeyId(v string) *CreateDatasetInput { - s.ServerSideKmsKeyId = &v +// SetEvaluationDataEndTime sets the EvaluationDataEndTime field's value. +func (s *CreateModelInput) SetEvaluationDataEndTime(v time.Time) *CreateModelInput { + s.EvaluationDataEndTime = &v + return s +} + +// SetEvaluationDataStartTime sets the EvaluationDataStartTime field's value. +func (s *CreateModelInput) SetEvaluationDataStartTime(v time.Time) *CreateModelInput { + s.EvaluationDataStartTime = &v + return s +} + +// SetLabelsInputConfiguration sets the LabelsInputConfiguration field's value. +func (s *CreateModelInput) SetLabelsInputConfiguration(v *LabelsInputConfiguration) *CreateModelInput { + s.LabelsInputConfiguration = v + return s +} + +// SetModelName sets the ModelName field's value. +func (s *CreateModelInput) SetModelName(v string) *CreateModelInput { + s.ModelName = &v + return s +} + +// SetOffCondition sets the OffCondition field's value. +func (s *CreateModelInput) SetOffCondition(v string) *CreateModelInput { + s.OffCondition = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateModelInput) SetRoleArn(v string) *CreateModelInput { + s.RoleArn = &v + return s +} + +// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. +func (s *CreateModelInput) SetServerSideKmsKeyId(v string) *CreateModelInput { + s.ServerSideKmsKeyId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput { + s.Tags = v + return s +} + +// SetTrainingDataEndTime sets the TrainingDataEndTime field's value. +func (s *CreateModelInput) SetTrainingDataEndTime(v time.Time) *CreateModelInput { + s.TrainingDataEndTime = &v + return s +} + +// SetTrainingDataStartTime sets the TrainingDataStartTime field's value. +func (s *CreateModelInput) SetTrainingDataStartTime(v time.Time) *CreateModelInput { + s.TrainingDataStartTime = &v + return s +} + +type CreateModelOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the model being created. + ModelArn *string `min:"20" type:"string"` + + // Indicates the status of the CreateModel operation. + Status *string `type:"string" enum:"ModelStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateModelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateModelOutput) GoString() string { + return s.String() +} + +// SetModelArn sets the ModelArn field's value. +func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput { + s.ModelArn = &v return s } -// SetTags sets the Tags field's value. -func (s *CreateDatasetInput) SetTags(v []*Tag) *CreateDatasetInput { - s.Tags = v +// SetStatus sets the Status field's value. +func (s *CreateModelOutput) SetStatus(v string) *CreateModelOutput { + s.Status = &v return s } -type CreateDatasetOutput struct { +// Provides information about a specified data ingestion job, including dataset +// information, data ingestion configuration, and status. +type DataIngestionJobSummary struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the dataset being created. + // The Amazon Resource Name (ARN) of the dataset used in the data ingestion + // job. DatasetArn *string `min:"20" type:"string"` - // The name of the dataset being created. + // The name of the dataset used for the data ingestion job. DatasetName *string `min:"1" type:"string"` - // Indicates the status of the CreateDataset operation. - Status *string `type:"string" enum:"DatasetStatus"` + // Specifies information for the input data for the data inference job, including + // data Amazon S3 location parameters. + IngestionInputConfiguration *IngestionInputConfiguration `type:"structure"` + + // Indicates the job ID of the data ingestion job. + JobId *string `type:"string"` + + // Indicates the status of the data ingestion job. + Status *string `type:"string" enum:"IngestionJobStatus"` } // String returns the string representation. @@ -3112,7 +4992,7 @@ type CreateDatasetOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateDatasetOutput) String() string { +func (s DataIngestionJobSummary) String() string { return awsutil.Prettify(s) } @@ -3121,90 +5001,63 @@ func (s CreateDatasetOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateDatasetOutput) GoString() string { +func (s DataIngestionJobSummary) GoString() string { return s.String() } // SetDatasetArn sets the DatasetArn field's value. -func (s *CreateDatasetOutput) SetDatasetArn(v string) *CreateDatasetOutput { +func (s *DataIngestionJobSummary) SetDatasetArn(v string) *DataIngestionJobSummary { s.DatasetArn = &v return s } // SetDatasetName sets the DatasetName field's value. -func (s *CreateDatasetOutput) SetDatasetName(v string) *CreateDatasetOutput { +func (s *DataIngestionJobSummary) SetDatasetName(v string) *DataIngestionJobSummary { s.DatasetName = &v return s } +// SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value. +func (s *DataIngestionJobSummary) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *DataIngestionJobSummary { + s.IngestionInputConfiguration = v + return s +} + +// SetJobId sets the JobId field's value. +func (s *DataIngestionJobSummary) SetJobId(v string) *DataIngestionJobSummary { + s.JobId = &v + return s +} + // SetStatus sets the Status field's value. -func (s *CreateDatasetOutput) SetStatus(v string) *CreateDatasetOutput { +func (s *DataIngestionJobSummary) SetStatus(v string) *DataIngestionJobSummary { s.Status = &v return s } -type CreateInferenceSchedulerInput struct { +// The configuration is the TargetSamplingRate, which is the sampling rate of +// the data after post processing by Amazon Lookout for Equipment. For example, +// if you provide data that has been collected at a 1 second level and you want +// the system to resample the data at a 1 minute rate before training, the TargetSamplingRate +// is 1 minute. +// +// When providing a value for the TargetSamplingRate, you must attach the prefix +// "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, +// the value for a 15 minute rate is PT15M, and the value for a 1 hour rate +// is PT1H +type DataPreProcessingConfiguration struct { _ struct{} `type:"structure"` - // A unique identifier for the request. If you do not set the client request - // token, Amazon Lookout for Equipment generates one. - ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` - - // A period of time (in minutes) by which inference on the data is delayed after - // the data starts. For instance, if you select an offset delay time of five - // minutes, inference will not begin on the data until the first data measurement - // after the five minute mark. For example, if five minutes is selected, the - // inference scheduler will wake up at the configured frequency with the additional - // five minute delay time to check the customer S3 bucket. The customer can - // upload data at the same frequency and they don't need to stop and restart - // the scheduler when uploading new data. - DataDelayOffsetInMinutes *int64 `type:"long"` - - // Specifies configuration information for the input data for the inference - // scheduler, including delimiter, format, and dataset location. - // - // DataInputConfiguration is a required field - DataInputConfiguration *InferenceInputConfiguration `type:"structure" required:"true"` - - // Specifies configuration information for the output results for the inference - // scheduler, including the S3 location for the output. - // - // DataOutputConfiguration is a required field - DataOutputConfiguration *InferenceOutputConfiguration `type:"structure" required:"true"` - - // How often data is uploaded to the source S3 bucket for the input data. The - // value chosen is the length of time between data uploads. For instance, if - // you select 5 minutes, Amazon Lookout for Equipment will upload the real-time - // data to the source bucket once every 5 minutes. This frequency also determines - // how often Amazon Lookout for Equipment starts a scheduled inference on your - // data. In this example, it starts once every 5 minutes. - // - // DataUploadFrequency is a required field - DataUploadFrequency *string `type:"string" required:"true" enum:"DataUploadFrequency"` - - // The name of the inference scheduler being created. - // - // InferenceSchedulerName is a required field - InferenceSchedulerName *string `min:"1" type:"string" required:"true"` - - // The name of the previously trained ML model being used to create the inference - // scheduler. - // - // ModelName is a required field - ModelName *string `min:"1" type:"string" required:"true"` - - // The Amazon Resource Name (ARN) of a role with permission to access the data - // source being used for the inference. + // The sampling rate of the data after post processing by Amazon Lookout for + // Equipment. For example, if you provide data that has been collected at a + // 1 second level and you want the system to resample the data at a 1 minute + // rate before training, the TargetSamplingRate is 1 minute. // - // RoleArn is a required field - RoleArn *string `min:"20" type:"string" required:"true"` - - // Provides the identifier of the KMS key used to encrypt inference scheduler - // data by Amazon Lookout for Equipment. - ServerSideKmsKeyId *string `min:"1" type:"string"` - - // Any tags associated with the inference scheduler. - Tags []*Tag `type:"list"` + // When providing a value for the TargetSamplingRate, you must attach the prefix + // "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, + // the value for a 15 minute rate is PT15M, and the value for a 1 hour rate + // is PT1H + TargetSamplingRate *string `type:"string" enum:"TargetSamplingRate"` } // String returns the string representation. @@ -3212,7 +5065,7 @@ type CreateInferenceSchedulerInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInferenceSchedulerInput) String() string { +func (s DataPreProcessingConfiguration) String() string { return awsutil.Prettify(s) } @@ -3221,144 +5074,108 @@ func (s CreateInferenceSchedulerInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInferenceSchedulerInput) GoString() string { +func (s DataPreProcessingConfiguration) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateInferenceSchedulerInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateInferenceSchedulerInput"} - if s.ClientToken != nil && len(*s.ClientToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) - } - if s.DataInputConfiguration == nil { - invalidParams.Add(request.NewErrParamRequired("DataInputConfiguration")) - } - if s.DataOutputConfiguration == nil { - invalidParams.Add(request.NewErrParamRequired("DataOutputConfiguration")) - } - if s.DataUploadFrequency == nil { - invalidParams.Add(request.NewErrParamRequired("DataUploadFrequency")) - } - if s.InferenceSchedulerName == nil { - invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) - } - if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) - } - if s.ModelName == nil { - invalidParams.Add(request.NewErrParamRequired("ModelName")) - } - if s.ModelName != nil && len(*s.ModelName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) - } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - if s.RoleArn != nil && len(*s.RoleArn) < 20 { - invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) - } - if s.ServerSideKmsKeyId != nil && len(*s.ServerSideKmsKeyId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ServerSideKmsKeyId", 1)) - } - if s.DataInputConfiguration != nil { - if err := s.DataInputConfiguration.Validate(); err != nil { - invalidParams.AddNested("DataInputConfiguration", err.(request.ErrInvalidParams)) - } - } - if s.DataOutputConfiguration != nil { - if err := s.DataOutputConfiguration.Validate(); err != nil { - invalidParams.AddNested("DataOutputConfiguration", err.(request.ErrInvalidParams)) - } - } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientToken sets the ClientToken field's value. -func (s *CreateInferenceSchedulerInput) SetClientToken(v string) *CreateInferenceSchedulerInput { - s.ClientToken = &v +// SetTargetSamplingRate sets the TargetSamplingRate field's value. +func (s *DataPreProcessingConfiguration) SetTargetSamplingRate(v string) *DataPreProcessingConfiguration { + s.TargetSamplingRate = &v return s } -// SetDataDelayOffsetInMinutes sets the DataDelayOffsetInMinutes field's value. -func (s *CreateInferenceSchedulerInput) SetDataDelayOffsetInMinutes(v int64) *CreateInferenceSchedulerInput { - s.DataDelayOffsetInMinutes = &v - return s -} +// DataQualitySummary gives aggregated statistics over all the sensors about +// a completed ingestion job. It primarily gives more information about statistics +// over different incorrect data like MissingCompleteSensorData, MissingSensorData, +// UnsupportedDateFormats, InsufficientSensorData, DuplicateTimeStamps. +type DataQualitySummary struct { + _ struct{} `type:"structure"` -// SetDataInputConfiguration sets the DataInputConfiguration field's value. -func (s *CreateInferenceSchedulerInput) SetDataInputConfiguration(v *InferenceInputConfiguration) *CreateInferenceSchedulerInput { - s.DataInputConfiguration = v - return s -} + // Parameter that gives information about duplicate timestamps in the input + // data. + // + // DuplicateTimestamps is a required field + DuplicateTimestamps *DuplicateTimestamps `type:"structure" required:"true"` -// SetDataOutputConfiguration sets the DataOutputConfiguration field's value. -func (s *CreateInferenceSchedulerInput) SetDataOutputConfiguration(v *InferenceOutputConfiguration) *CreateInferenceSchedulerInput { - s.DataOutputConfiguration = v - return s + // Parameter that gives information about insufficient data for sensors in the + // dataset. This includes information about those sensors that have complete + // data missing and those with a short date range. + // + // InsufficientSensorData is a required field + InsufficientSensorData *InsufficientSensorData `type:"structure" required:"true"` + + // Parameter that gives information about data that is invalid over all the + // sensors in the input data. + // + // InvalidSensorData is a required field + InvalidSensorData *InvalidSensorData `type:"structure" required:"true"` + + // Parameter that gives information about data that is missing over all the + // sensors in the input data. + // + // MissingSensorData is a required field + MissingSensorData *MissingSensorData `type:"structure" required:"true"` + + // Parameter that gives information about unsupported timestamps in the input + // data. + // + // UnsupportedTimestamps is a required field + UnsupportedTimestamps *UnsupportedTimestamps `type:"structure" required:"true"` } -// SetDataUploadFrequency sets the DataUploadFrequency field's value. -func (s *CreateInferenceSchedulerInput) SetDataUploadFrequency(v string) *CreateInferenceSchedulerInput { - s.DataUploadFrequency = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataQualitySummary) String() string { + return awsutil.Prettify(s) } -// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. -func (s *CreateInferenceSchedulerInput) SetInferenceSchedulerName(v string) *CreateInferenceSchedulerInput { - s.InferenceSchedulerName = &v +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataQualitySummary) GoString() string { + return s.String() +} + +// SetDuplicateTimestamps sets the DuplicateTimestamps field's value. +func (s *DataQualitySummary) SetDuplicateTimestamps(v *DuplicateTimestamps) *DataQualitySummary { + s.DuplicateTimestamps = v return s } -// SetModelName sets the ModelName field's value. -func (s *CreateInferenceSchedulerInput) SetModelName(v string) *CreateInferenceSchedulerInput { - s.ModelName = &v +// SetInsufficientSensorData sets the InsufficientSensorData field's value. +func (s *DataQualitySummary) SetInsufficientSensorData(v *InsufficientSensorData) *DataQualitySummary { + s.InsufficientSensorData = v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *CreateInferenceSchedulerInput) SetRoleArn(v string) *CreateInferenceSchedulerInput { - s.RoleArn = &v +// SetInvalidSensorData sets the InvalidSensorData field's value. +func (s *DataQualitySummary) SetInvalidSensorData(v *InvalidSensorData) *DataQualitySummary { + s.InvalidSensorData = v return s } -// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. -func (s *CreateInferenceSchedulerInput) SetServerSideKmsKeyId(v string) *CreateInferenceSchedulerInput { - s.ServerSideKmsKeyId = &v +// SetMissingSensorData sets the MissingSensorData field's value. +func (s *DataQualitySummary) SetMissingSensorData(v *MissingSensorData) *DataQualitySummary { + s.MissingSensorData = v return s } -// SetTags sets the Tags field's value. -func (s *CreateInferenceSchedulerInput) SetTags(v []*Tag) *CreateInferenceSchedulerInput { - s.Tags = v +// SetUnsupportedTimestamps sets the UnsupportedTimestamps field's value. +func (s *DataQualitySummary) SetUnsupportedTimestamps(v *UnsupportedTimestamps) *DataQualitySummary { + s.UnsupportedTimestamps = v return s } -type CreateInferenceSchedulerOutput struct { +// Provides information about the data schema used with the given dataset. +type DatasetSchema struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the inference scheduler being created. - InferenceSchedulerArn *string `min:"20" type:"string"` - - // The name of inference scheduler being created. - InferenceSchedulerName *string `min:"1" type:"string"` - - // Indicates the status of the CreateInferenceScheduler operation. - Status *string `type:"string" enum:"InferenceSchedulerStatus"` + InlineDataSchema aws.JSONValue `type:"jsonvalue"` } // String returns the string representation. @@ -3366,7 +5183,7 @@ type CreateInferenceSchedulerOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInferenceSchedulerOutput) String() string { +func (s DatasetSchema) String() string { return awsutil.Prettify(s) } @@ -3375,95 +5192,32 @@ func (s CreateInferenceSchedulerOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateInferenceSchedulerOutput) GoString() string { +func (s DatasetSchema) GoString() string { return s.String() } -// SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value. -func (s *CreateInferenceSchedulerOutput) SetInferenceSchedulerArn(v string) *CreateInferenceSchedulerOutput { - s.InferenceSchedulerArn = &v - return s -} - -// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. -func (s *CreateInferenceSchedulerOutput) SetInferenceSchedulerName(v string) *CreateInferenceSchedulerOutput { - s.InferenceSchedulerName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CreateInferenceSchedulerOutput) SetStatus(v string) *CreateInferenceSchedulerOutput { - s.Status = &v +// SetInlineDataSchema sets the InlineDataSchema field's value. +func (s *DatasetSchema) SetInlineDataSchema(v aws.JSONValue) *DatasetSchema { + s.InlineDataSchema = v return s } -type CreateModelInput struct { +// Contains information about the specific data set, including name, ARN, and +// status. +type DatasetSummary struct { _ struct{} `type:"structure"` - // A unique identifier for the request. If you do not set the client request - // token, Amazon Lookout for Equipment generates one. - ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` - - // The configuration is the TargetSamplingRate, which is the sampling rate of - // the data after post processing by Amazon Lookout for Equipment. For example, - // if you provide data that has been collected at a 1 second level and you want - // the system to resample the data at a 1 minute rate before training, the TargetSamplingRate - // is 1 minute. - // - // When providing a value for the TargetSamplingRate, you must attach the prefix - // "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, - // the value for a 15 minute rate is PT15M, and the value for a 1 hour rate - // is PT1H - DataPreProcessingConfiguration *DataPreProcessingConfiguration `type:"structure"` - - // The name of the dataset for the ML model being created. - // - // DatasetName is a required field - DatasetName *string `min:"1" type:"string" required:"true"` - - // The data schema for the ML model being created. - DatasetSchema *DatasetSchema `type:"structure"` - - // Indicates the time reference in the dataset that should be used to end the - // subset of evaluation data for the ML model. - EvaluationDataEndTime *time.Time `type:"timestamp"` - - // Indicates the time reference in the dataset that should be used to begin - // the subset of evaluation data for the ML model. - EvaluationDataStartTime *time.Time `type:"timestamp"` - - // The input configuration for the labels being used for the ML model that's - // being created. - LabelsInputConfiguration *LabelsInputConfiguration `type:"structure"` - - // The name for the ML model to be created. - // - // ModelName is a required field - ModelName *string `min:"1" type:"string" required:"true"` - - // Indicates that the asset associated with this sensor has been shut off. As - // long as this condition is met, Lookout for Equipment will not use data from - // this asset for training, evaluation, or inference. - OffCondition *string `min:"1" type:"string"` - - // The Amazon Resource Name (ARN) of a role with permission to access the data - // source being used to create the ML model. - RoleArn *string `min:"20" type:"string"` - - // Provides the identifier of the KMS key used to encrypt model data by Amazon - // Lookout for Equipment. - ServerSideKmsKeyId *string `min:"1" type:"string"` + // The time at which the dataset was created in Amazon Lookout for Equipment. + CreatedAt *time.Time `type:"timestamp"` - // Any tags associated with the ML model being created. - Tags []*Tag `type:"list"` + // The Amazon Resource Name (ARN) of the specified dataset. + DatasetArn *string `min:"20" type:"string"` - // Indicates the time reference in the dataset that should be used to end the - // subset of training data for the ML model. - TrainingDataEndTime *time.Time `type:"timestamp"` + // The name of the dataset. + DatasetName *string `min:"1" type:"string"` - // Indicates the time reference in the dataset that should be used to begin - // the subset of training data for the ML model. - TrainingDataStartTime *time.Time `type:"timestamp"` + // Indicates the status of the dataset. + Status *string `type:"string" enum:"DatasetStatus"` } // String returns the string representation. @@ -3471,7 +5225,7 @@ type CreateModelInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateModelInput) String() string { +func (s DatasetSummary) String() string { return awsutil.Prettify(s) } @@ -3480,151 +5234,112 @@ func (s CreateModelInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateModelInput) GoString() string { +func (s DatasetSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateModelInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateModelInput"} - if s.ClientToken != nil && len(*s.ClientToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) - } - if s.DatasetName == nil { - invalidParams.Add(request.NewErrParamRequired("DatasetName")) - } - if s.DatasetName != nil && len(*s.DatasetName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1)) - } - if s.ModelName == nil { - invalidParams.Add(request.NewErrParamRequired("ModelName")) - } - if s.ModelName != nil && len(*s.ModelName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) - } - if s.OffCondition != nil && len(*s.OffCondition) < 1 { - invalidParams.Add(request.NewErrParamMinLen("OffCondition", 1)) - } - if s.RoleArn != nil && len(*s.RoleArn) < 20 { - invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) - } - if s.ServerSideKmsKeyId != nil && len(*s.ServerSideKmsKeyId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ServerSideKmsKeyId", 1)) - } - if s.LabelsInputConfiguration != nil { - if err := s.LabelsInputConfiguration.Validate(); err != nil { - invalidParams.AddNested("LabelsInputConfiguration", err.(request.ErrInvalidParams)) - } - } - if s.Tags != nil { - for i, v := range s.Tags { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientToken sets the ClientToken field's value. -func (s *CreateModelInput) SetClientToken(v string) *CreateModelInput { - s.ClientToken = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *DatasetSummary) SetCreatedAt(v time.Time) *DatasetSummary { + s.CreatedAt = &v return s } -// SetDataPreProcessingConfiguration sets the DataPreProcessingConfiguration field's value. -func (s *CreateModelInput) SetDataPreProcessingConfiguration(v *DataPreProcessingConfiguration) *CreateModelInput { - s.DataPreProcessingConfiguration = v +// SetDatasetArn sets the DatasetArn field's value. +func (s *DatasetSummary) SetDatasetArn(v string) *DatasetSummary { + s.DatasetArn = &v return s } // SetDatasetName sets the DatasetName field's value. -func (s *CreateModelInput) SetDatasetName(v string) *CreateModelInput { +func (s *DatasetSummary) SetDatasetName(v string) *DatasetSummary { s.DatasetName = &v return s } -// SetDatasetSchema sets the DatasetSchema field's value. -func (s *CreateModelInput) SetDatasetSchema(v *DatasetSchema) *CreateModelInput { - s.DatasetSchema = v +// SetStatus sets the Status field's value. +func (s *DatasetSummary) SetStatus(v string) *DatasetSummary { + s.Status = &v return s } -// SetEvaluationDataEndTime sets the EvaluationDataEndTime field's value. -func (s *CreateModelInput) SetEvaluationDataEndTime(v time.Time) *CreateModelInput { - s.EvaluationDataEndTime = &v - return s -} +type DeleteDatasetInput struct { + _ struct{} `type:"structure"` -// SetEvaluationDataStartTime sets the EvaluationDataStartTime field's value. -func (s *CreateModelInput) SetEvaluationDataStartTime(v time.Time) *CreateModelInput { - s.EvaluationDataStartTime = &v - return s + // The name of the dataset to be deleted. + // + // DatasetName is a required field + DatasetName *string `min:"1" type:"string" required:"true"` } -// SetLabelsInputConfiguration sets the LabelsInputConfiguration field's value. -func (s *CreateModelInput) SetLabelsInputConfiguration(v *LabelsInputConfiguration) *CreateModelInput { - s.LabelsInputConfiguration = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteDatasetInput) String() string { + return awsutil.Prettify(s) } -// SetModelName sets the ModelName field's value. -func (s *CreateModelInput) SetModelName(v string) *CreateModelInput { - s.ModelName = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteDatasetInput) GoString() string { + return s.String() } -// SetOffCondition sets the OffCondition field's value. -func (s *CreateModelInput) SetOffCondition(v string) *CreateModelInput { - s.OffCondition = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDatasetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDatasetInput"} + if s.DatasetName == nil { + invalidParams.Add(request.NewErrParamRequired("DatasetName")) + } + if s.DatasetName != nil && len(*s.DatasetName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1)) + } -// SetRoleArn sets the RoleArn field's value. -func (s *CreateModelInput) SetRoleArn(v string) *CreateModelInput { - s.RoleArn = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. -func (s *CreateModelInput) SetServerSideKmsKeyId(v string) *CreateModelInput { - s.ServerSideKmsKeyId = &v +// SetDatasetName sets the DatasetName field's value. +func (s *DeleteDatasetInput) SetDatasetName(v string) *DeleteDatasetInput { + s.DatasetName = &v return s } -// SetTags sets the Tags field's value. -func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput { - s.Tags = v - return s +type DeleteDatasetOutput struct { + _ struct{} `type:"structure"` } -// SetTrainingDataEndTime sets the TrainingDataEndTime field's value. -func (s *CreateModelInput) SetTrainingDataEndTime(v time.Time) *CreateModelInput { - s.TrainingDataEndTime = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteDatasetOutput) String() string { + return awsutil.Prettify(s) } -// SetTrainingDataStartTime sets the TrainingDataStartTime field's value. -func (s *CreateModelInput) SetTrainingDataStartTime(v time.Time) *CreateModelInput { - s.TrainingDataStartTime = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteDatasetOutput) GoString() string { + return s.String() } -type CreateModelOutput struct { +type DeleteInferenceSchedulerInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the model being created. - ModelArn *string `min:"20" type:"string"` - - // Indicates the status of the CreateModel operation. - Status *string `type:"string" enum:"ModelStatus"` + // The name of the inference scheduler to be deleted. + // + // InferenceSchedulerName is a required field + InferenceSchedulerName *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3632,7 +5347,7 @@ type CreateModelOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateModelOutput) String() string { +func (s DeleteInferenceSchedulerInput) String() string { return awsutil.Prettify(s) } @@ -3641,43 +5356,63 @@ func (s CreateModelOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateModelOutput) GoString() string { +func (s DeleteInferenceSchedulerInput) GoString() string { return s.String() } -// SetModelArn sets the ModelArn field's value. -func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput { - s.ModelArn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteInferenceSchedulerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteInferenceSchedulerInput"} + if s.InferenceSchedulerName == nil { + invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) + } + if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStatus sets the Status field's value. -func (s *CreateModelOutput) SetStatus(v string) *CreateModelOutput { - s.Status = &v +// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. +func (s *DeleteInferenceSchedulerInput) SetInferenceSchedulerName(v string) *DeleteInferenceSchedulerInput { + s.InferenceSchedulerName = &v return s } -// Provides information about a specified data ingestion job, including dataset -// information, data ingestion configuration, and status. -type DataIngestionJobSummary struct { +type DeleteInferenceSchedulerOutput struct { _ struct{} `type:"structure"` +} - // The Amazon Resource Name (ARN) of the dataset used in the data ingestion - // job. - DatasetArn *string `min:"20" type:"string"` - - // The name of the dataset used for the data ingestion job. - DatasetName *string `min:"1" type:"string"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteInferenceSchedulerOutput) String() string { + return awsutil.Prettify(s) +} - // Specifies information for the input data for the data inference job, including - // data Amazon S3 location parameters. - IngestionInputConfiguration *IngestionInputConfiguration `type:"structure"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteInferenceSchedulerOutput) GoString() string { + return s.String() +} - // Indicates the job ID of the data ingestion job. - JobId *string `type:"string"` +type DeleteLabelGroupInput struct { + _ struct{} `type:"structure"` - // Indicates the status of the data ingestion job. - Status *string `type:"string" enum:"IngestionJobStatus"` + // The name of the label group that you want to delete. Data in this field will + // be retained for service usage. Follow best practices for the security of + // your data. + // + // LabelGroupName is a required field + LabelGroupName *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3685,7 +5420,7 @@ type DataIngestionJobSummary struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataIngestionJobSummary) String() string { +func (s DeleteLabelGroupInput) String() string { return awsutil.Prettify(s) } @@ -3694,63 +5429,68 @@ func (s DataIngestionJobSummary) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataIngestionJobSummary) GoString() string { +func (s DeleteLabelGroupInput) GoString() string { return s.String() } -// SetDatasetArn sets the DatasetArn field's value. -func (s *DataIngestionJobSummary) SetDatasetArn(v string) *DataIngestionJobSummary { - s.DatasetArn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteLabelGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteLabelGroupInput"} + if s.LabelGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("LabelGroupName")) + } + if s.LabelGroupName != nil && len(*s.LabelGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupName", 1)) + } -// SetDatasetName sets the DatasetName field's value. -func (s *DataIngestionJobSummary) SetDatasetName(v string) *DataIngestionJobSummary { - s.DatasetName = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value. -func (s *DataIngestionJobSummary) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *DataIngestionJobSummary { - s.IngestionInputConfiguration = v +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *DeleteLabelGroupInput) SetLabelGroupName(v string) *DeleteLabelGroupInput { + s.LabelGroupName = &v return s } -// SetJobId sets the JobId field's value. -func (s *DataIngestionJobSummary) SetJobId(v string) *DataIngestionJobSummary { - s.JobId = &v - return s +type DeleteLabelGroupOutput struct { + _ struct{} `type:"structure"` } -// SetStatus sets the Status field's value. -func (s *DataIngestionJobSummary) SetStatus(v string) *DataIngestionJobSummary { - s.Status = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteLabelGroupOutput) String() string { + return awsutil.Prettify(s) } -// The configuration is the TargetSamplingRate, which is the sampling rate of -// the data after post processing by Amazon Lookout for Equipment. For example, -// if you provide data that has been collected at a 1 second level and you want -// the system to resample the data at a 1 minute rate before training, the TargetSamplingRate -// is 1 minute. +// GoString returns the string representation. // -// When providing a value for the TargetSamplingRate, you must attach the prefix -// "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, -// the value for a 15 minute rate is PT15M, and the value for a 1 hour rate -// is PT1H -type DataPreProcessingConfiguration struct { +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteLabelGroupOutput) GoString() string { + return s.String() +} + +type DeleteLabelInput struct { _ struct{} `type:"structure"` - // The sampling rate of the data after post processing by Amazon Lookout for - // Equipment. For example, if you provide data that has been collected at a - // 1 second level and you want the system to resample the data at a 1 minute - // rate before training, the TargetSamplingRate is 1 minute. + // The name of the label group that contains the label that you want to delete. + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. // - // When providing a value for the TargetSamplingRate, you must attach the prefix - // "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, - // the value for a 15 minute rate is PT15M, and the value for a 1 hour rate - // is PT1H - TargetSamplingRate *string `type:"string" enum:"TargetSamplingRate"` + // LabelGroupName is a required field + LabelGroupName *string `min:"1" type:"string" required:"true"` + + // The ID of the label that you want to delete. + // + // LabelId is a required field + LabelId *string `type:"string" required:"true"` } // String returns the string representation. @@ -3758,7 +5498,7 @@ type DataPreProcessingConfiguration struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataPreProcessingConfiguration) String() string { +func (s DeleteLabelInput) String() string { return awsutil.Prettify(s) } @@ -3767,53 +5507,70 @@ func (s DataPreProcessingConfiguration) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataPreProcessingConfiguration) GoString() string { +func (s DeleteLabelInput) GoString() string { return s.String() } -// SetTargetSamplingRate sets the TargetSamplingRate field's value. -func (s *DataPreProcessingConfiguration) SetTargetSamplingRate(v string) *DataPreProcessingConfiguration { - s.TargetSamplingRate = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteLabelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteLabelInput"} + if s.LabelGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("LabelGroupName")) + } + if s.LabelGroupName != nil && len(*s.LabelGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupName", 1)) + } + if s.LabelId == nil { + invalidParams.Add(request.NewErrParamRequired("LabelId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *DeleteLabelInput) SetLabelGroupName(v string) *DeleteLabelInput { + s.LabelGroupName = &v return s } -// DataQualitySummary gives aggregated statistics over all the sensors about -// a completed ingestion job. It primarily gives more information about statistics -// over different incorrect data like MissingCompleteSensorData, MissingSensorData, -// UnsupportedDateFormats, InsufficientSensorData, DuplicateTimeStamps. -type DataQualitySummary struct { - _ struct{} `type:"structure"` +// SetLabelId sets the LabelId field's value. +func (s *DeleteLabelInput) SetLabelId(v string) *DeleteLabelInput { + s.LabelId = &v + return s +} - // Parameter that gives information about duplicate timestamps in the input - // data. - // - // DuplicateTimestamps is a required field - DuplicateTimestamps *DuplicateTimestamps `type:"structure" required:"true"` +type DeleteLabelOutput struct { + _ struct{} `type:"structure"` +} - // Parameter that gives information about insufficient data for sensors in the - // dataset. This includes information about those sensors that have complete - // data missing and those with a short date range. - // - // InsufficientSensorData is a required field - InsufficientSensorData *InsufficientSensorData `type:"structure" required:"true"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteLabelOutput) String() string { + return awsutil.Prettify(s) +} - // Parameter that gives information about data that is invalid over all the - // sensors in the input data. - // - // InvalidSensorData is a required field - InvalidSensorData *InvalidSensorData `type:"structure" required:"true"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteLabelOutput) GoString() string { + return s.String() +} - // Parameter that gives information about data that is missing over all the - // sensors in the input data. - // - // MissingSensorData is a required field - MissingSensorData *MissingSensorData `type:"structure" required:"true"` +type DeleteModelInput struct { + _ struct{} `type:"structure"` - // Parameter that gives information about unsupported timestamps in the input - // data. + // The name of the ML model to be deleted. // - // UnsupportedTimestamps is a required field - UnsupportedTimestamps *UnsupportedTimestamps `type:"structure" required:"true"` + // ModelName is a required field + ModelName *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3821,7 +5578,7 @@ type DataQualitySummary struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataQualitySummary) String() string { +func (s DeleteModelInput) String() string { return awsutil.Prettify(s) } @@ -3830,45 +5587,61 @@ func (s DataQualitySummary) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataQualitySummary) GoString() string { +func (s DeleteModelInput) GoString() string { return s.String() } -// SetDuplicateTimestamps sets the DuplicateTimestamps field's value. -func (s *DataQualitySummary) SetDuplicateTimestamps(v *DuplicateTimestamps) *DataQualitySummary { - s.DuplicateTimestamps = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteModelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteModelInput"} + if s.ModelName == nil { + invalidParams.Add(request.NewErrParamRequired("ModelName")) + } + if s.ModelName != nil && len(*s.ModelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetInsufficientSensorData sets the InsufficientSensorData field's value. -func (s *DataQualitySummary) SetInsufficientSensorData(v *InsufficientSensorData) *DataQualitySummary { - s.InsufficientSensorData = v +// SetModelName sets the ModelName field's value. +func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput { + s.ModelName = &v return s } -// SetInvalidSensorData sets the InvalidSensorData field's value. -func (s *DataQualitySummary) SetInvalidSensorData(v *InvalidSensorData) *DataQualitySummary { - s.InvalidSensorData = v - return s +type DeleteModelOutput struct { + _ struct{} `type:"structure"` } -// SetMissingSensorData sets the MissingSensorData field's value. -func (s *DataQualitySummary) SetMissingSensorData(v *MissingSensorData) *DataQualitySummary { - s.MissingSensorData = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteModelOutput) String() string { + return awsutil.Prettify(s) } -// SetUnsupportedTimestamps sets the UnsupportedTimestamps field's value. -func (s *DataQualitySummary) SetUnsupportedTimestamps(v *UnsupportedTimestamps) *DataQualitySummary { - s.UnsupportedTimestamps = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteModelOutput) GoString() string { + return s.String() } -// Provides information about the data schema used with the given dataset. -type DatasetSchema struct { +type DescribeDataIngestionJobInput struct { _ struct{} `type:"structure"` - InlineDataSchema aws.JSONValue `type:"jsonvalue"` + // The job ID of the data ingestion job. + // + // JobId is a required field + JobId *string `type:"string" required:"true"` } // String returns the string representation. @@ -3876,7 +5649,7 @@ type DatasetSchema struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DatasetSchema) String() string { +func (s DescribeDataIngestionJobInput) String() string { return awsutil.Prettify(s) } @@ -3885,32 +5658,78 @@ func (s DatasetSchema) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DatasetSchema) GoString() string { +func (s DescribeDataIngestionJobInput) GoString() string { return s.String() } -// SetInlineDataSchema sets the InlineDataSchema field's value. -func (s *DatasetSchema) SetInlineDataSchema(v aws.JSONValue) *DatasetSchema { - s.InlineDataSchema = v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDataIngestionJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDataIngestionJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *DescribeDataIngestionJobInput) SetJobId(v string) *DescribeDataIngestionJobInput { + s.JobId = &v return s } -// Contains information about the specific data set, including name, ARN, and -// status. -type DatasetSummary struct { +type DescribeDataIngestionJobOutput struct { _ struct{} `type:"structure"` - // The time at which the dataset was created in Amazon Lookout for Equipment. + // The time at which the data ingestion job was created. CreatedAt *time.Time `type:"timestamp"` - // The Amazon Resource Name (ARN) of the specified dataset. + // Indicates the latest timestamp corresponding to data that was successfully + // ingested during this specific ingestion job. + DataEndTime *time.Time `type:"timestamp"` + + // Gives statistics about a completed ingestion job. These statistics primarily + // relate to quantifying incorrect data such as MissingCompleteSensorData, MissingSensorData, + // UnsupportedDateFormats, InsufficientSensorData, and DuplicateTimeStamps. + DataQualitySummary *DataQualitySummary `type:"structure"` + + // Indicates the earliest timestamp corresponding to data that was successfully + // ingested during this specific ingestion job. + DataStartTime *time.Time `type:"timestamp"` + + // The Amazon Resource Name (ARN) of the dataset being used in the data ingestion + // job. DatasetArn *string `min:"20" type:"string"` - // The name of the dataset. - DatasetName *string `min:"1" type:"string"` + // Specifies the reason for failure when a data ingestion job has failed. + FailedReason *string `min:"1" type:"string"` - // Indicates the status of the dataset. - Status *string `type:"string" enum:"DatasetStatus"` + // Indicates the size of the ingested dataset. + IngestedDataSize *int64 `type:"long"` + + // Gives statistics about how many files have been ingested, and which files + // have not been ingested, for a particular ingestion job. + IngestedFilesSummary *IngestedFilesSummary `type:"structure"` + + // Specifies the S3 location configuration for the data input for the data ingestion + // job. + IngestionInputConfiguration *IngestionInputConfiguration `type:"structure"` + + // Indicates the job ID of the data ingestion job. + JobId *string `type:"string"` + + // The Amazon Resource Name (ARN) of an IAM role with permission to access the + // data source being ingested. + RoleArn *string `min:"20" type:"string"` + + // Indicates the status of the DataIngestionJob operation. + Status *string `type:"string" enum:"IngestionJobStatus"` + + // Provides details about status of the ingestion job that is currently in progress. + StatusDetail *string `min:"1" type:"string"` } // String returns the string representation. @@ -3918,7 +5737,7 @@ type DatasetSummary struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DatasetSummary) String() string { +func (s DescribeDataIngestionJobOutput) String() string { return awsutil.Prettify(s) } @@ -3927,112 +5746,95 @@ func (s DatasetSummary) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DatasetSummary) GoString() string { +func (s DescribeDataIngestionJobOutput) GoString() string { return s.String() } // SetCreatedAt sets the CreatedAt field's value. -func (s *DatasetSummary) SetCreatedAt(v time.Time) *DatasetSummary { +func (s *DescribeDataIngestionJobOutput) SetCreatedAt(v time.Time) *DescribeDataIngestionJobOutput { s.CreatedAt = &v return s } -// SetDatasetArn sets the DatasetArn field's value. -func (s *DatasetSummary) SetDatasetArn(v string) *DatasetSummary { - s.DatasetArn = &v +// SetDataEndTime sets the DataEndTime field's value. +func (s *DescribeDataIngestionJobOutput) SetDataEndTime(v time.Time) *DescribeDataIngestionJobOutput { + s.DataEndTime = &v return s } -// SetDatasetName sets the DatasetName field's value. -func (s *DatasetSummary) SetDatasetName(v string) *DatasetSummary { - s.DatasetName = &v +// SetDataQualitySummary sets the DataQualitySummary field's value. +func (s *DescribeDataIngestionJobOutput) SetDataQualitySummary(v *DataQualitySummary) *DescribeDataIngestionJobOutput { + s.DataQualitySummary = v return s } -// SetStatus sets the Status field's value. -func (s *DatasetSummary) SetStatus(v string) *DatasetSummary { - s.Status = &v +// SetDataStartTime sets the DataStartTime field's value. +func (s *DescribeDataIngestionJobOutput) SetDataStartTime(v time.Time) *DescribeDataIngestionJobOutput { + s.DataStartTime = &v return s } -type DeleteDatasetInput struct { - _ struct{} `type:"structure"` - - // The name of the dataset to be deleted. - // - // DatasetName is a required field - DatasetName *string `min:"1" type:"string" required:"true"` +// SetDatasetArn sets the DatasetArn field's value. +func (s *DescribeDataIngestionJobOutput) SetDatasetArn(v string) *DescribeDataIngestionJobOutput { + s.DatasetArn = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteDatasetInput) String() string { - return awsutil.Prettify(s) +// SetFailedReason sets the FailedReason field's value. +func (s *DescribeDataIngestionJobOutput) SetFailedReason(v string) *DescribeDataIngestionJobOutput { + s.FailedReason = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteDatasetInput) GoString() string { - return s.String() +// SetIngestedDataSize sets the IngestedDataSize field's value. +func (s *DescribeDataIngestionJobOutput) SetIngestedDataSize(v int64) *DescribeDataIngestionJobOutput { + s.IngestedDataSize = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteDatasetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteDatasetInput"} - if s.DatasetName == nil { - invalidParams.Add(request.NewErrParamRequired("DatasetName")) - } - if s.DatasetName != nil && len(*s.DatasetName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetIngestedFilesSummary sets the IngestedFilesSummary field's value. +func (s *DescribeDataIngestionJobOutput) SetIngestedFilesSummary(v *IngestedFilesSummary) *DescribeDataIngestionJobOutput { + s.IngestedFilesSummary = v + return s } -// SetDatasetName sets the DatasetName field's value. -func (s *DeleteDatasetInput) SetDatasetName(v string) *DeleteDatasetInput { - s.DatasetName = &v +// SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value. +func (s *DescribeDataIngestionJobOutput) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *DescribeDataIngestionJobOutput { + s.IngestionInputConfiguration = v return s } -type DeleteDatasetOutput struct { - _ struct{} `type:"structure"` +// SetJobId sets the JobId field's value. +func (s *DescribeDataIngestionJobOutput) SetJobId(v string) *DescribeDataIngestionJobOutput { + s.JobId = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteDatasetOutput) String() string { - return awsutil.Prettify(s) +// SetRoleArn sets the RoleArn field's value. +func (s *DescribeDataIngestionJobOutput) SetRoleArn(v string) *DescribeDataIngestionJobOutput { + s.RoleArn = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteDatasetOutput) GoString() string { - return s.String() +// SetStatus sets the Status field's value. +func (s *DescribeDataIngestionJobOutput) SetStatus(v string) *DescribeDataIngestionJobOutput { + s.Status = &v + return s } -type DeleteInferenceSchedulerInput struct { +// SetStatusDetail sets the StatusDetail field's value. +func (s *DescribeDataIngestionJobOutput) SetStatusDetail(v string) *DescribeDataIngestionJobOutput { + s.StatusDetail = &v + return s +} + +type DescribeDatasetInput struct { _ struct{} `type:"structure"` - // The name of the inference scheduler to be deleted. + // The name of the dataset to be described. // - // InferenceSchedulerName is a required field - InferenceSchedulerName *string `min:"1" type:"string" required:"true"` + // DatasetName is a required field + DatasetName *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -4040,7 +5842,7 @@ type DeleteInferenceSchedulerInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInferenceSchedulerInput) String() string { +func (s DescribeDatasetInput) String() string { return awsutil.Prettify(s) } @@ -4049,18 +5851,18 @@ func (s DeleteInferenceSchedulerInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInferenceSchedulerInput) GoString() string { +func (s DescribeDatasetInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteInferenceSchedulerInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteInferenceSchedulerInput"} - if s.InferenceSchedulerName == nil { - invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) +func (s *DescribeDatasetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDatasetInput"} + if s.DatasetName == nil { + invalidParams.Add(request.NewErrParamRequired("DatasetName")) } - if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) + if s.DatasetName != nil && len(*s.DatasetName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1)) } if invalidParams.Len() > 0 { @@ -4069,14 +5871,63 @@ func (s *DeleteInferenceSchedulerInput) Validate() error { return nil } -// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. -func (s *DeleteInferenceSchedulerInput) SetInferenceSchedulerName(v string) *DeleteInferenceSchedulerInput { - s.InferenceSchedulerName = &v +// SetDatasetName sets the DatasetName field's value. +func (s *DescribeDatasetInput) SetDatasetName(v string) *DescribeDatasetInput { + s.DatasetName = &v return s } -type DeleteInferenceSchedulerOutput struct { +type DescribeDatasetOutput struct { _ struct{} `type:"structure"` + + // Specifies the time the dataset was created in Lookout for Equipment. + CreatedAt *time.Time `type:"timestamp"` + + // Indicates the latest timestamp corresponding to data that was successfully + // ingested during the most recent ingestion of this particular dataset. + DataEndTime *time.Time `type:"timestamp"` + + // Gives statistics associated with the given dataset for the latest successful + // associated ingestion job id. These statistics primarily relate to quantifying + // incorrect data such as MissingCompleteSensorData, MissingSensorData, UnsupportedDateFormats, + // InsufficientSensorData, and DuplicateTimeStamps. + DataQualitySummary *DataQualitySummary `type:"structure"` + + // Indicates the earliest timestamp corresponding to data that was successfully + // ingested during the most recent ingestion of this particular dataset. + DataStartTime *time.Time `type:"timestamp"` + + // The Amazon Resource Name (ARN) of the dataset being described. + DatasetArn *string `min:"20" type:"string"` + + // The name of the dataset being described. + DatasetName *string `min:"1" type:"string"` + + // IngestedFilesSummary associated with the given dataset for the latest successful + // associated ingestion job id. + IngestedFilesSummary *IngestedFilesSummary `type:"structure"` + + // Specifies the S3 location configuration for the data input for the data ingestion + // job. + IngestionInputConfiguration *IngestionInputConfiguration `type:"structure"` + + // Specifies the time the dataset was last updated, if it was. + LastUpdatedAt *time.Time `type:"timestamp"` + + // The Amazon Resource Name (ARN) of the IAM role that you are using for this + // the data ingestion job. + RoleArn *string `min:"20" type:"string"` + + // A JSON description of the data that is in each time series dataset, including + // names, column names, and data types. + Schema aws.JSONValue `type:"jsonvalue"` + + // Provides the identifier of the KMS key used to encrypt dataset data by Amazon + // Lookout for Equipment. + ServerSideKmsKeyId *string `min:"1" type:"string"` + + // Indicates the status of the dataset. + Status *string `type:"string" enum:"DatasetStatus"` } // String returns the string representation. @@ -4084,7 +5935,7 @@ type DeleteInferenceSchedulerOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInferenceSchedulerOutput) String() string { +func (s DescribeDatasetOutput) String() string { return awsutil.Prettify(s) } @@ -4093,88 +5944,95 @@ func (s DeleteInferenceSchedulerOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteInferenceSchedulerOutput) GoString() string { +func (s DescribeDatasetOutput) GoString() string { return s.String() } -type DeleteModelInput struct { - _ struct{} `type:"structure"` +// SetCreatedAt sets the CreatedAt field's value. +func (s *DescribeDatasetOutput) SetCreatedAt(v time.Time) *DescribeDatasetOutput { + s.CreatedAt = &v + return s +} - // The name of the ML model to be deleted. - // - // ModelName is a required field - ModelName *string `min:"1" type:"string" required:"true"` +// SetDataEndTime sets the DataEndTime field's value. +func (s *DescribeDatasetOutput) SetDataEndTime(v time.Time) *DescribeDatasetOutput { + s.DataEndTime = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteModelInput) String() string { - return awsutil.Prettify(s) +// SetDataQualitySummary sets the DataQualitySummary field's value. +func (s *DescribeDatasetOutput) SetDataQualitySummary(v *DataQualitySummary) *DescribeDatasetOutput { + s.DataQualitySummary = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteModelInput) GoString() string { - return s.String() +// SetDataStartTime sets the DataStartTime field's value. +func (s *DescribeDatasetOutput) SetDataStartTime(v time.Time) *DescribeDatasetOutput { + s.DataStartTime = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteModelInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteModelInput"} - if s.ModelName == nil { - invalidParams.Add(request.NewErrParamRequired("ModelName")) - } - if s.ModelName != nil && len(*s.ModelName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) - } +// SetDatasetArn sets the DatasetArn field's value. +func (s *DescribeDatasetOutput) SetDatasetArn(v string) *DescribeDatasetOutput { + s.DatasetArn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetDatasetName sets the DatasetName field's value. +func (s *DescribeDatasetOutput) SetDatasetName(v string) *DescribeDatasetOutput { + s.DatasetName = &v + return s } -// SetModelName sets the ModelName field's value. -func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput { - s.ModelName = &v +// SetIngestedFilesSummary sets the IngestedFilesSummary field's value. +func (s *DescribeDatasetOutput) SetIngestedFilesSummary(v *IngestedFilesSummary) *DescribeDatasetOutput { + s.IngestedFilesSummary = v return s } -type DeleteModelOutput struct { - _ struct{} `type:"structure"` +// SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value. +func (s *DescribeDatasetOutput) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *DescribeDatasetOutput { + s.IngestionInputConfiguration = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteModelOutput) String() string { - return awsutil.Prettify(s) +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *DescribeDatasetOutput) SetLastUpdatedAt(v time.Time) *DescribeDatasetOutput { + s.LastUpdatedAt = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteModelOutput) GoString() string { - return s.String() +// SetRoleArn sets the RoleArn field's value. +func (s *DescribeDatasetOutput) SetRoleArn(v string) *DescribeDatasetOutput { + s.RoleArn = &v + return s } -type DescribeDataIngestionJobInput struct { +// SetSchema sets the Schema field's value. +func (s *DescribeDatasetOutput) SetSchema(v aws.JSONValue) *DescribeDatasetOutput { + s.Schema = v + return s +} + +// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. +func (s *DescribeDatasetOutput) SetServerSideKmsKeyId(v string) *DescribeDatasetOutput { + s.ServerSideKmsKeyId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeDatasetOutput) SetStatus(v string) *DescribeDatasetOutput { + s.Status = &v + return s +} + +type DescribeInferenceSchedulerInput struct { _ struct{} `type:"structure"` - // The job ID of the data ingestion job. + // The name of the inference scheduler being described. // - // JobId is a required field - JobId *string `type:"string" required:"true"` + // InferenceSchedulerName is a required field + InferenceSchedulerName *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -4182,7 +6040,7 @@ type DescribeDataIngestionJobInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeDataIngestionJobInput) String() string { +func (s DescribeInferenceSchedulerInput) String() string { return awsutil.Prettify(s) } @@ -4191,15 +6049,18 @@ func (s DescribeDataIngestionJobInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeDataIngestionJobInput) GoString() string { +func (s DescribeInferenceSchedulerInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeDataIngestionJobInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeDataIngestionJobInput"} - if s.JobId == nil { - invalidParams.Add(request.NewErrParamRequired("JobId")) +func (s *DescribeInferenceSchedulerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInferenceSchedulerInput"} + if s.InferenceSchedulerName == nil { + invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) + } + if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) } if invalidParams.Len() > 0 { @@ -4208,61 +6069,75 @@ func (s *DescribeDataIngestionJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *DescribeDataIngestionJobInput) SetJobId(v string) *DescribeDataIngestionJobInput { - s.JobId = &v +// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. +func (s *DescribeInferenceSchedulerInput) SetInferenceSchedulerName(v string) *DescribeInferenceSchedulerInput { + s.InferenceSchedulerName = &v return s } -type DescribeDataIngestionJobOutput struct { +type DescribeInferenceSchedulerOutput struct { _ struct{} `type:"structure"` - // The time at which the data ingestion job was created. + // Specifies the time at which the inference scheduler was created. CreatedAt *time.Time `type:"timestamp"` - // Indicates the latest timestamp corresponding to data that was successfully - // ingested during this specific ingestion job. - DataEndTime *time.Time `type:"timestamp"` + // A period of time (in minutes) by which inference on the data is delayed after + // the data starts. For instance, if you select an offset delay time of five + // minutes, inference will not begin on the data until the first data measurement + // after the five minute mark. For example, if five minutes is selected, the + // inference scheduler will wake up at the configured frequency with the additional + // five minute delay time to check the customer S3 bucket. The customer can + // upload data at the same frequency and they don't need to stop and restart + // the scheduler when uploading new data. + DataDelayOffsetInMinutes *int64 `type:"long"` - // Gives statistics about a completed ingestion job. These statistics primarily - // relate to quantifying incorrect data such as MissingCompleteSensorData, MissingSensorData, - // UnsupportedDateFormats, InsufficientSensorData, and DuplicateTimeStamps. - DataQualitySummary *DataQualitySummary `type:"structure"` + // Specifies configuration information for the input data for the inference + // scheduler, including delimiter, format, and dataset location. + DataInputConfiguration *InferenceInputConfiguration `type:"structure"` - // Indicates the earliest timestamp corresponding to data that was successfully - // ingested during this specific ingestion job. - DataStartTime *time.Time `type:"timestamp"` + // Specifies information for the output results for the inference scheduler, + // including the output S3 location. + DataOutputConfiguration *InferenceOutputConfiguration `type:"structure"` - // The Amazon Resource Name (ARN) of the dataset being used in the data ingestion - // job. - DatasetArn *string `min:"20" type:"string"` + // Specifies how often data is uploaded to the source S3 bucket for the input + // data. This value is the length of time between data uploads. For instance, + // if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time + // data to the source bucket once every 5 minutes. This frequency also determines + // how often Amazon Lookout for Equipment starts a scheduled inference on your + // data. In this example, it starts once every 5 minutes. + DataUploadFrequency *string `type:"string" enum:"DataUploadFrequency"` - // Specifies the reason for failure when a data ingestion job has failed. - FailedReason *string `min:"1" type:"string"` + // The Amazon Resource Name (ARN) of the inference scheduler being described. + InferenceSchedulerArn *string `min:"20" type:"string"` - // Indicates the size of the ingested dataset. - IngestedDataSize *int64 `type:"long"` + // The name of the inference scheduler being described. + InferenceSchedulerName *string `min:"1" type:"string"` - // Gives statistics about how many files have been ingested, and which files - // have not been ingested, for a particular ingestion job. - IngestedFilesSummary *IngestedFilesSummary `type:"structure"` + // Indicates whether the latest execution for the inference scheduler was Anomalous + // (anomalous events found) or Normal (no anomalous events found). + LatestInferenceResult *string `type:"string" enum:"LatestInferenceResult"` - // Specifies the S3 location configuration for the data input for the data ingestion - // job. - IngestionInputConfiguration *IngestionInputConfiguration `type:"structure"` + // The Amazon Resource Name (ARN) of the ML model of the inference scheduler + // being described. + ModelArn *string `min:"20" type:"string"` - // Indicates the job ID of the data ingestion job. - JobId *string `type:"string"` + // The name of the ML model of the inference scheduler being described. + ModelName *string `min:"1" type:"string"` - // The Amazon Resource Name (ARN) of an IAM role with permission to access the - // data source being ingested. + // The Amazon Resource Name (ARN) of a role with permission to access the data + // source for the inference scheduler being described. RoleArn *string `min:"20" type:"string"` - // Indicates the status of the DataIngestionJob operation. - Status *string `type:"string" enum:"IngestionJobStatus"` + // Provides the identifier of the KMS key used to encrypt inference scheduler + // data by Amazon Lookout for Equipment. + ServerSideKmsKeyId *string `min:"1" type:"string"` - // Provides details about status of the ingestion job that is currently in progress. - StatusDetail *string `min:"1" type:"string"` + // Indicates the status of the inference scheduler. + Status *string `type:"string" enum:"InferenceSchedulerStatus"` + + // Specifies the time at which the inference scheduler was last updated, if + // it was. + UpdatedAt *time.Time `type:"timestamp"` } // String returns the string representation. @@ -4270,7 +6145,7 @@ type DescribeDataIngestionJobOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeDataIngestionJobOutput) String() string { +func (s DescribeInferenceSchedulerOutput) String() string { return awsutil.Prettify(s) } @@ -4279,95 +6154,101 @@ func (s DescribeDataIngestionJobOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeDataIngestionJobOutput) GoString() string { +func (s DescribeInferenceSchedulerOutput) GoString() string { return s.String() } // SetCreatedAt sets the CreatedAt field's value. -func (s *DescribeDataIngestionJobOutput) SetCreatedAt(v time.Time) *DescribeDataIngestionJobOutput { +func (s *DescribeInferenceSchedulerOutput) SetCreatedAt(v time.Time) *DescribeInferenceSchedulerOutput { s.CreatedAt = &v return s } -// SetDataEndTime sets the DataEndTime field's value. -func (s *DescribeDataIngestionJobOutput) SetDataEndTime(v time.Time) *DescribeDataIngestionJobOutput { - s.DataEndTime = &v +// SetDataDelayOffsetInMinutes sets the DataDelayOffsetInMinutes field's value. +func (s *DescribeInferenceSchedulerOutput) SetDataDelayOffsetInMinutes(v int64) *DescribeInferenceSchedulerOutput { + s.DataDelayOffsetInMinutes = &v return s } -// SetDataQualitySummary sets the DataQualitySummary field's value. -func (s *DescribeDataIngestionJobOutput) SetDataQualitySummary(v *DataQualitySummary) *DescribeDataIngestionJobOutput { - s.DataQualitySummary = v +// SetDataInputConfiguration sets the DataInputConfiguration field's value. +func (s *DescribeInferenceSchedulerOutput) SetDataInputConfiguration(v *InferenceInputConfiguration) *DescribeInferenceSchedulerOutput { + s.DataInputConfiguration = v return s } -// SetDataStartTime sets the DataStartTime field's value. -func (s *DescribeDataIngestionJobOutput) SetDataStartTime(v time.Time) *DescribeDataIngestionJobOutput { - s.DataStartTime = &v +// SetDataOutputConfiguration sets the DataOutputConfiguration field's value. +func (s *DescribeInferenceSchedulerOutput) SetDataOutputConfiguration(v *InferenceOutputConfiguration) *DescribeInferenceSchedulerOutput { + s.DataOutputConfiguration = v return s } -// SetDatasetArn sets the DatasetArn field's value. -func (s *DescribeDataIngestionJobOutput) SetDatasetArn(v string) *DescribeDataIngestionJobOutput { - s.DatasetArn = &v +// SetDataUploadFrequency sets the DataUploadFrequency field's value. +func (s *DescribeInferenceSchedulerOutput) SetDataUploadFrequency(v string) *DescribeInferenceSchedulerOutput { + s.DataUploadFrequency = &v return s } -// SetFailedReason sets the FailedReason field's value. -func (s *DescribeDataIngestionJobOutput) SetFailedReason(v string) *DescribeDataIngestionJobOutput { - s.FailedReason = &v +// SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value. +func (s *DescribeInferenceSchedulerOutput) SetInferenceSchedulerArn(v string) *DescribeInferenceSchedulerOutput { + s.InferenceSchedulerArn = &v return s } -// SetIngestedDataSize sets the IngestedDataSize field's value. -func (s *DescribeDataIngestionJobOutput) SetIngestedDataSize(v int64) *DescribeDataIngestionJobOutput { - s.IngestedDataSize = &v +// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. +func (s *DescribeInferenceSchedulerOutput) SetInferenceSchedulerName(v string) *DescribeInferenceSchedulerOutput { + s.InferenceSchedulerName = &v return s } -// SetIngestedFilesSummary sets the IngestedFilesSummary field's value. -func (s *DescribeDataIngestionJobOutput) SetIngestedFilesSummary(v *IngestedFilesSummary) *DescribeDataIngestionJobOutput { - s.IngestedFilesSummary = v +// SetLatestInferenceResult sets the LatestInferenceResult field's value. +func (s *DescribeInferenceSchedulerOutput) SetLatestInferenceResult(v string) *DescribeInferenceSchedulerOutput { + s.LatestInferenceResult = &v return s } -// SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value. -func (s *DescribeDataIngestionJobOutput) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *DescribeDataIngestionJobOutput { - s.IngestionInputConfiguration = v +// SetModelArn sets the ModelArn field's value. +func (s *DescribeInferenceSchedulerOutput) SetModelArn(v string) *DescribeInferenceSchedulerOutput { + s.ModelArn = &v return s } -// SetJobId sets the JobId field's value. -func (s *DescribeDataIngestionJobOutput) SetJobId(v string) *DescribeDataIngestionJobOutput { - s.JobId = &v +// SetModelName sets the ModelName field's value. +func (s *DescribeInferenceSchedulerOutput) SetModelName(v string) *DescribeInferenceSchedulerOutput { + s.ModelName = &v return s } // SetRoleArn sets the RoleArn field's value. -func (s *DescribeDataIngestionJobOutput) SetRoleArn(v string) *DescribeDataIngestionJobOutput { +func (s *DescribeInferenceSchedulerOutput) SetRoleArn(v string) *DescribeInferenceSchedulerOutput { s.RoleArn = &v return s } +// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. +func (s *DescribeInferenceSchedulerOutput) SetServerSideKmsKeyId(v string) *DescribeInferenceSchedulerOutput { + s.ServerSideKmsKeyId = &v + return s +} + // SetStatus sets the Status field's value. -func (s *DescribeDataIngestionJobOutput) SetStatus(v string) *DescribeDataIngestionJobOutput { +func (s *DescribeInferenceSchedulerOutput) SetStatus(v string) *DescribeInferenceSchedulerOutput { s.Status = &v return s } -// SetStatusDetail sets the StatusDetail field's value. -func (s *DescribeDataIngestionJobOutput) SetStatusDetail(v string) *DescribeDataIngestionJobOutput { - s.StatusDetail = &v +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *DescribeInferenceSchedulerOutput) SetUpdatedAt(v time.Time) *DescribeInferenceSchedulerOutput { + s.UpdatedAt = &v return s } -type DescribeDatasetInput struct { +type DescribeLabelGroupInput struct { _ struct{} `type:"structure"` - // The name of the dataset to be described. + // Returns the name of the label group. // - // DatasetName is a required field - DatasetName *string `min:"1" type:"string" required:"true"` + // LabelGroupName is a required field + LabelGroupName *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -4375,7 +6256,7 @@ type DescribeDatasetInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeDatasetInput) String() string { +func (s DescribeLabelGroupInput) String() string { return awsutil.Prettify(s) } @@ -4384,18 +6265,18 @@ func (s DescribeDatasetInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeDatasetInput) GoString() string { +func (s DescribeLabelGroupInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeDatasetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeDatasetInput"} - if s.DatasetName == nil { - invalidParams.Add(request.NewErrParamRequired("DatasetName")) +func (s *DescribeLabelGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeLabelGroupInput"} + if s.LabelGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("LabelGroupName")) } - if s.DatasetName != nil && len(*s.DatasetName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1)) + if s.LabelGroupName != nil && len(*s.LabelGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupName", 1)) } if invalidParams.Len() > 0 { @@ -4404,63 +6285,30 @@ func (s *DescribeDatasetInput) Validate() error { return nil } -// SetDatasetName sets the DatasetName field's value. -func (s *DescribeDatasetInput) SetDatasetName(v string) *DescribeDatasetInput { - s.DatasetName = &v +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *DescribeLabelGroupInput) SetLabelGroupName(v string) *DescribeLabelGroupInput { + s.LabelGroupName = &v return s } -type DescribeDatasetOutput struct { +type DescribeLabelGroupOutput struct { _ struct{} `type:"structure"` - // Specifies the time the dataset was created in Lookout for Equipment. + // The time at which the label group was created. CreatedAt *time.Time `type:"timestamp"` - // Indicates the latest timestamp corresponding to data that was successfully - // ingested during the most recent ingestion of this particular dataset. - DataEndTime *time.Time `type:"timestamp"` - - // Gives statistics associated with the given dataset for the latest successful - // associated ingestion job id. These statistics primarily relate to quantifying - // incorrect data such as MissingCompleteSensorData, MissingSensorData, UnsupportedDateFormats, - // InsufficientSensorData, and DuplicateTimeStamps. - DataQualitySummary *DataQualitySummary `type:"structure"` - - // Indicates the earliest timestamp corresponding to data that was successfully - // ingested during the most recent ingestion of this particular dataset. - DataStartTime *time.Time `type:"timestamp"` - - // The Amazon Resource Name (ARN) of the dataset being described. - DatasetArn *string `min:"20" type:"string"` - - // The name of the dataset being described. - DatasetName *string `min:"1" type:"string"` - - // IngestedFilesSummary associated with the given dataset for the latest successful - // associated ingestion job id. - IngestedFilesSummary *IngestedFilesSummary `type:"structure"` - - // Specifies the S3 location configuration for the data input for the data ingestion - // job. - IngestionInputConfiguration *IngestionInputConfiguration `type:"structure"` - - // Specifies the time the dataset was last updated, if it was. - LastUpdatedAt *time.Time `type:"timestamp"` - - // The Amazon Resource Name (ARN) of the IAM role that you are using for this - // the data ingestion job. - RoleArn *string `min:"20" type:"string"` + // Codes indicating the type of anomaly associated with the labels in the lagbel + // group. + FaultCodes []*string `type:"list"` - // A JSON description of the data that is in each time series dataset, including - // names, column names, and data types. - Schema aws.JSONValue `type:"jsonvalue"` + // The ARN of the label group. + LabelGroupArn *string `min:"20" type:"string"` - // Provides the identifier of the KMS key used to encrypt dataset data by Amazon - // Lookout for Equipment. - ServerSideKmsKeyId *string `min:"1" type:"string"` + // The name of the label group. + LabelGroupName *string `min:"1" type:"string"` - // Indicates the status of the dataset. - Status *string `type:"string" enum:"DatasetStatus"` + // The time at which the label group was updated. + UpdatedAt *time.Time `type:"timestamp"` } // String returns the string representation. @@ -4468,104 +6316,61 @@ type DescribeDatasetOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeDatasetOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeDatasetOutput) GoString() string { - return s.String() -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *DescribeDatasetOutput) SetCreatedAt(v time.Time) *DescribeDatasetOutput { - s.CreatedAt = &v - return s -} - -// SetDataEndTime sets the DataEndTime field's value. -func (s *DescribeDatasetOutput) SetDataEndTime(v time.Time) *DescribeDatasetOutput { - s.DataEndTime = &v - return s -} - -// SetDataQualitySummary sets the DataQualitySummary field's value. -func (s *DescribeDatasetOutput) SetDataQualitySummary(v *DataQualitySummary) *DescribeDatasetOutput { - s.DataQualitySummary = v - return s -} - -// SetDataStartTime sets the DataStartTime field's value. -func (s *DescribeDatasetOutput) SetDataStartTime(v time.Time) *DescribeDatasetOutput { - s.DataStartTime = &v - return s -} - -// SetDatasetArn sets the DatasetArn field's value. -func (s *DescribeDatasetOutput) SetDatasetArn(v string) *DescribeDatasetOutput { - s.DatasetArn = &v - return s -} - -// SetDatasetName sets the DatasetName field's value. -func (s *DescribeDatasetOutput) SetDatasetName(v string) *DescribeDatasetOutput { - s.DatasetName = &v - return s -} - -// SetIngestedFilesSummary sets the IngestedFilesSummary field's value. -func (s *DescribeDatasetOutput) SetIngestedFilesSummary(v *IngestedFilesSummary) *DescribeDatasetOutput { - s.IngestedFilesSummary = v - return s -} - -// SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value. -func (s *DescribeDatasetOutput) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *DescribeDatasetOutput { - s.IngestionInputConfiguration = v - return s +func (s DescribeLabelGroupOutput) String() string { + return awsutil.Prettify(s) } -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *DescribeDatasetOutput) SetLastUpdatedAt(v time.Time) *DescribeDatasetOutput { - s.LastUpdatedAt = &v +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeLabelGroupOutput) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *DescribeLabelGroupOutput) SetCreatedAt(v time.Time) *DescribeLabelGroupOutput { + s.CreatedAt = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeDatasetOutput) SetRoleArn(v string) *DescribeDatasetOutput { - s.RoleArn = &v +// SetFaultCodes sets the FaultCodes field's value. +func (s *DescribeLabelGroupOutput) SetFaultCodes(v []*string) *DescribeLabelGroupOutput { + s.FaultCodes = v return s } -// SetSchema sets the Schema field's value. -func (s *DescribeDatasetOutput) SetSchema(v aws.JSONValue) *DescribeDatasetOutput { - s.Schema = v +// SetLabelGroupArn sets the LabelGroupArn field's value. +func (s *DescribeLabelGroupOutput) SetLabelGroupArn(v string) *DescribeLabelGroupOutput { + s.LabelGroupArn = &v return s } -// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. -func (s *DescribeDatasetOutput) SetServerSideKmsKeyId(v string) *DescribeDatasetOutput { - s.ServerSideKmsKeyId = &v +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *DescribeLabelGroupOutput) SetLabelGroupName(v string) *DescribeLabelGroupOutput { + s.LabelGroupName = &v return s } -// SetStatus sets the Status field's value. -func (s *DescribeDatasetOutput) SetStatus(v string) *DescribeDatasetOutput { - s.Status = &v +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *DescribeLabelGroupOutput) SetUpdatedAt(v time.Time) *DescribeLabelGroupOutput { + s.UpdatedAt = &v return s } -type DescribeInferenceSchedulerInput struct { +type DescribeLabelInput struct { _ struct{} `type:"structure"` - // The name of the inference scheduler being described. + // Returns the name of the group containing the label. // - // InferenceSchedulerName is a required field - InferenceSchedulerName *string `min:"1" type:"string" required:"true"` + // LabelGroupName is a required field + LabelGroupName *string `min:"1" type:"string" required:"true"` + + // Returns the ID of the label. + // + // LabelId is a required field + LabelId *string `type:"string" required:"true"` } // String returns the string representation. @@ -4573,7 +6378,7 @@ type DescribeInferenceSchedulerInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInferenceSchedulerInput) String() string { +func (s DescribeLabelInput) String() string { return awsutil.Prettify(s) } @@ -4582,18 +6387,21 @@ func (s DescribeInferenceSchedulerInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInferenceSchedulerInput) GoString() string { +func (s DescribeLabelInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeInferenceSchedulerInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeInferenceSchedulerInput"} - if s.InferenceSchedulerName == nil { - invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) +func (s *DescribeLabelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeLabelInput"} + if s.LabelGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("LabelGroupName")) } - if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) + if s.LabelGroupName != nil && len(*s.LabelGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupName", 1)) + } + if s.LabelId == nil { + invalidParams.Add(request.NewErrParamRequired("LabelId")) } if invalidParams.Len() > 0 { @@ -4602,71 +6410,56 @@ func (s *DescribeInferenceSchedulerInput) Validate() error { return nil } -// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. -func (s *DescribeInferenceSchedulerInput) SetInferenceSchedulerName(v string) *DescribeInferenceSchedulerInput { - s.InferenceSchedulerName = &v +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *DescribeLabelInput) SetLabelGroupName(v string) *DescribeLabelInput { + s.LabelGroupName = &v return s } -type DescribeInferenceSchedulerOutput struct { +// SetLabelId sets the LabelId field's value. +func (s *DescribeLabelInput) SetLabelId(v string) *DescribeLabelInput { + s.LabelId = &v + return s +} + +type DescribeLabelOutput struct { _ struct{} `type:"structure"` - // Specifies the time at which the inference scheduler was created. + // The time at which the label was created. CreatedAt *time.Time `type:"timestamp"` - // A period of time (in minutes) by which inference on the data is delayed after - // the data starts. For instance, if you select an offset delay time of five - // minutes, inference will not begin on the data until the first data measurement - // after the five minute mark. For example, if five minutes is selected, the - // inference scheduler will wake up at the configured frequency with the additional - // five minute delay time to check the customer S3 bucket. The customer can - // upload data at the same frequency and they don't need to stop and restart - // the scheduler when uploading new data. - DataDelayOffsetInMinutes *int64 `type:"long"` - - // Specifies configuration information for the input data for the inference - // scheduler, including delimiter, format, and dataset location. - DataInputConfiguration *InferenceInputConfiguration `type:"structure"` - - // Specifies information for the output results for the inference scheduler, - // including the output S3 location. - DataOutputConfiguration *InferenceOutputConfiguration `type:"structure"` - - // Specifies how often data is uploaded to the source S3 bucket for the input - // data. This value is the length of time between data uploads. For instance, - // if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time - // data to the source bucket once every 5 minutes. This frequency also determines - // how often Amazon Lookout for Equipment starts a scheduled inference on your - // data. In this example, it starts once every 5 minutes. - DataUploadFrequency *string `type:"string" enum:"DataUploadFrequency"` + // The end time of the requested label. + EndTime *time.Time `type:"timestamp"` - // The Amazon Resource Name (ARN) of the inference scheduler being described. - InferenceSchedulerArn *string `min:"20" type:"string"` + // Indicates that a label pertains to a particular piece of equipment. + Equipment *string `min:"1" type:"string"` - // The name of the inference scheduler being described. - InferenceSchedulerName *string `min:"1" type:"string"` + // Indicates the type of anomaly associated with the label. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + FaultCode *string `min:"1" type:"string"` - // The Amazon Resource Name (ARN) of the ML model of the inference scheduler - // being described. - ModelArn *string `min:"20" type:"string"` + // The ARN of the requested label group. + LabelGroupArn *string `min:"20" type:"string"` - // The name of the ML model of the inference scheduler being described. - ModelName *string `min:"1" type:"string"` + // The name of the requested label group. + LabelGroupName *string `min:"1" type:"string"` - // The Amazon Resource Name (ARN) of a role with permission to access the data - // source for the inference scheduler being described. - RoleArn *string `min:"20" type:"string"` + // The ID of the requested label. + LabelId *string `type:"string"` - // Provides the identifier of the KMS key used to encrypt inference scheduler - // data by Amazon Lookout for Equipment. - ServerSideKmsKeyId *string `min:"1" type:"string"` + // Metadata providing additional information about the label. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + Notes *string `min:"1" type:"string"` - // Indicates the status of the inference scheduler. - Status *string `type:"string" enum:"InferenceSchedulerStatus"` + // Indicates whether a labeled event represents an anomaly. + Rating *string `type:"string" enum:"LabelRating"` - // Specifies the time at which the inference scheduler was last updated, if - // it was. - UpdatedAt *time.Time `type:"timestamp"` + // The start time of the requested label. + StartTime *time.Time `type:"timestamp"` } // String returns the string representation. @@ -4674,7 +6467,7 @@ type DescribeInferenceSchedulerOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInferenceSchedulerOutput) String() string { +func (s DescribeLabelOutput) String() string { return awsutil.Prettify(s) } @@ -4683,85 +6476,67 @@ func (s DescribeInferenceSchedulerOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInferenceSchedulerOutput) GoString() string { +func (s DescribeLabelOutput) GoString() string { return s.String() } // SetCreatedAt sets the CreatedAt field's value. -func (s *DescribeInferenceSchedulerOutput) SetCreatedAt(v time.Time) *DescribeInferenceSchedulerOutput { +func (s *DescribeLabelOutput) SetCreatedAt(v time.Time) *DescribeLabelOutput { s.CreatedAt = &v return s } -// SetDataDelayOffsetInMinutes sets the DataDelayOffsetInMinutes field's value. -func (s *DescribeInferenceSchedulerOutput) SetDataDelayOffsetInMinutes(v int64) *DescribeInferenceSchedulerOutput { - s.DataDelayOffsetInMinutes = &v - return s -} - -// SetDataInputConfiguration sets the DataInputConfiguration field's value. -func (s *DescribeInferenceSchedulerOutput) SetDataInputConfiguration(v *InferenceInputConfiguration) *DescribeInferenceSchedulerOutput { - s.DataInputConfiguration = v - return s -} - -// SetDataOutputConfiguration sets the DataOutputConfiguration field's value. -func (s *DescribeInferenceSchedulerOutput) SetDataOutputConfiguration(v *InferenceOutputConfiguration) *DescribeInferenceSchedulerOutput { - s.DataOutputConfiguration = v - return s -} - -// SetDataUploadFrequency sets the DataUploadFrequency field's value. -func (s *DescribeInferenceSchedulerOutput) SetDataUploadFrequency(v string) *DescribeInferenceSchedulerOutput { - s.DataUploadFrequency = &v +// SetEndTime sets the EndTime field's value. +func (s *DescribeLabelOutput) SetEndTime(v time.Time) *DescribeLabelOutput { + s.EndTime = &v return s } -// SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value. -func (s *DescribeInferenceSchedulerOutput) SetInferenceSchedulerArn(v string) *DescribeInferenceSchedulerOutput { - s.InferenceSchedulerArn = &v +// SetEquipment sets the Equipment field's value. +func (s *DescribeLabelOutput) SetEquipment(v string) *DescribeLabelOutput { + s.Equipment = &v return s } -// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. -func (s *DescribeInferenceSchedulerOutput) SetInferenceSchedulerName(v string) *DescribeInferenceSchedulerOutput { - s.InferenceSchedulerName = &v +// SetFaultCode sets the FaultCode field's value. +func (s *DescribeLabelOutput) SetFaultCode(v string) *DescribeLabelOutput { + s.FaultCode = &v return s } -// SetModelArn sets the ModelArn field's value. -func (s *DescribeInferenceSchedulerOutput) SetModelArn(v string) *DescribeInferenceSchedulerOutput { - s.ModelArn = &v +// SetLabelGroupArn sets the LabelGroupArn field's value. +func (s *DescribeLabelOutput) SetLabelGroupArn(v string) *DescribeLabelOutput { + s.LabelGroupArn = &v return s } -// SetModelName sets the ModelName field's value. -func (s *DescribeInferenceSchedulerOutput) SetModelName(v string) *DescribeInferenceSchedulerOutput { - s.ModelName = &v +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *DescribeLabelOutput) SetLabelGroupName(v string) *DescribeLabelOutput { + s.LabelGroupName = &v return s } -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeInferenceSchedulerOutput) SetRoleArn(v string) *DescribeInferenceSchedulerOutput { - s.RoleArn = &v +// SetLabelId sets the LabelId field's value. +func (s *DescribeLabelOutput) SetLabelId(v string) *DescribeLabelOutput { + s.LabelId = &v return s } -// SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value. -func (s *DescribeInferenceSchedulerOutput) SetServerSideKmsKeyId(v string) *DescribeInferenceSchedulerOutput { - s.ServerSideKmsKeyId = &v +// SetNotes sets the Notes field's value. +func (s *DescribeLabelOutput) SetNotes(v string) *DescribeLabelOutput { + s.Notes = &v return s } -// SetStatus sets the Status field's value. -func (s *DescribeInferenceSchedulerOutput) SetStatus(v string) *DescribeInferenceSchedulerOutput { - s.Status = &v +// SetRating sets the Rating field's value. +func (s *DescribeLabelOutput) SetRating(v string) *DescribeLabelOutput { + s.Rating = &v return s } -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *DescribeInferenceSchedulerOutput) SetUpdatedAt(v time.Time) *DescribeInferenceSchedulerOutput { - s.UpdatedAt = &v +// SetStartTime sets the StartTime field's value. +func (s *DescribeLabelOutput) SetStartTime(v time.Time) *DescribeLabelOutput { + s.StartTime = &v return s } @@ -5630,6 +7405,10 @@ type InferenceSchedulerSummary struct { // The name of the inference scheduler. InferenceSchedulerName *string `min:"1" type:"string"` + // Indicates whether the latest execution for the inference scheduler was Anomalous + // (anomalous events found) or Normal (no anomalous events found). + LatestInferenceResult *string `type:"string" enum:"LatestInferenceResult"` + // The Amazon Resource Name (ARN) of the ML model used by the inference scheduler. ModelArn *string `min:"20" type:"string"` @@ -5682,6 +7461,12 @@ func (s *InferenceSchedulerSummary) SetInferenceSchedulerName(v string) *Inferen return s } +// SetLatestInferenceResult sets the LatestInferenceResult field's value. +func (s *InferenceSchedulerSummary) SetLatestInferenceResult(v string) *InferenceSchedulerSummary { + s.LatestInferenceResult = &v + return s +} + // SetModelArn sets the ModelArn field's value. func (s *InferenceSchedulerSummary) SetModelArn(v string) *InferenceSchedulerSummary { s.ModelArn = &v @@ -6023,24 +7808,190 @@ func (s InvalidSensorData) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InvalidSensorData) GoString() string { - return s.String() +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidSensorData) GoString() string { + return s.String() +} + +// SetAffectedSensorCount sets the AffectedSensorCount field's value. +func (s *InvalidSensorData) SetAffectedSensorCount(v int64) *InvalidSensorData { + s.AffectedSensorCount = &v + return s +} + +// SetTotalNumberOfInvalidValues sets the TotalNumberOfInvalidValues field's value. +func (s *InvalidSensorData) SetTotalNumberOfInvalidValues(v int64) *InvalidSensorData { + s.TotalNumberOfInvalidValues = &v + return s +} + +// Contains information about the label group. +type LabelGroupSummary struct { + _ struct{} `type:"structure"` + + // The time at which the label group was created. + CreatedAt *time.Time `type:"timestamp"` + + // The ARN of the label group. + LabelGroupArn *string `min:"20" type:"string"` + + // The name of the label group. + LabelGroupName *string `min:"1" type:"string"` + + // The time at which the label group was updated. + UpdatedAt *time.Time `type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LabelGroupSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LabelGroupSummary) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *LabelGroupSummary) SetCreatedAt(v time.Time) *LabelGroupSummary { + s.CreatedAt = &v + return s +} + +// SetLabelGroupArn sets the LabelGroupArn field's value. +func (s *LabelGroupSummary) SetLabelGroupArn(v string) *LabelGroupSummary { + s.LabelGroupArn = &v + return s +} + +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *LabelGroupSummary) SetLabelGroupName(v string) *LabelGroupSummary { + s.LabelGroupName = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *LabelGroupSummary) SetUpdatedAt(v time.Time) *LabelGroupSummary { + s.UpdatedAt = &v + return s +} + +// Information about the label. +type LabelSummary struct { + _ struct{} `type:"structure"` + + // The time at which the label was created. + CreatedAt *time.Time `type:"timestamp"` + + // The timestamp indicating the end of the label. + EndTime *time.Time `type:"timestamp"` + + // Indicates that a label pertains to a particular piece of equipment. + Equipment *string `min:"1" type:"string"` + + // Indicates the type of anomaly associated with the label. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + FaultCode *string `min:"1" type:"string"` + + // The ARN of the label group. + LabelGroupArn *string `min:"20" type:"string"` + + // The name of the label group. + LabelGroupName *string `min:"1" type:"string"` + + // The ID of the label. + LabelId *string `type:"string"` + + // Indicates whether a labeled event represents an anomaly. + Rating *string `type:"string" enum:"LabelRating"` + + // The timestamp indicating the start of the label. + StartTime *time.Time `type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LabelSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LabelSummary) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *LabelSummary) SetCreatedAt(v time.Time) *LabelSummary { + s.CreatedAt = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *LabelSummary) SetEndTime(v time.Time) *LabelSummary { + s.EndTime = &v + return s +} + +// SetEquipment sets the Equipment field's value. +func (s *LabelSummary) SetEquipment(v string) *LabelSummary { + s.Equipment = &v + return s +} + +// SetFaultCode sets the FaultCode field's value. +func (s *LabelSummary) SetFaultCode(v string) *LabelSummary { + s.FaultCode = &v + return s +} + +// SetLabelGroupArn sets the LabelGroupArn field's value. +func (s *LabelSummary) SetLabelGroupArn(v string) *LabelSummary { + s.LabelGroupArn = &v + return s } -// SetAffectedSensorCount sets the AffectedSensorCount field's value. -func (s *InvalidSensorData) SetAffectedSensorCount(v int64) *InvalidSensorData { - s.AffectedSensorCount = &v +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *LabelSummary) SetLabelGroupName(v string) *LabelSummary { + s.LabelGroupName = &v return s } -// SetTotalNumberOfInvalidValues sets the TotalNumberOfInvalidValues field's value. -func (s *InvalidSensorData) SetTotalNumberOfInvalidValues(v int64) *InvalidSensorData { - s.TotalNumberOfInvalidValues = &v +// SetLabelId sets the LabelId field's value. +func (s *LabelSummary) SetLabelId(v string) *LabelSummary { + s.LabelId = &v + return s +} + +// SetRating sets the Rating field's value. +func (s *LabelSummary) SetRating(v string) *LabelSummary { + s.Rating = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *LabelSummary) SetStartTime(v time.Time) *LabelSummary { + s.StartTime = &v return s } @@ -6049,10 +8000,11 @@ func (s *InvalidSensorData) SetTotalNumberOfInvalidValues(v int64) *InvalidSenso type LabelsInputConfiguration struct { _ struct{} `type:"structure"` + // The name of the label group to be used for label data. + LabelGroupName *string `min:"1" type:"string"` + // Contains location information for the S3 location being used for label data. - // - // S3InputConfiguration is a required field - S3InputConfiguration *LabelsS3InputConfiguration `type:"structure" required:"true"` + S3InputConfiguration *LabelsS3InputConfiguration `type:"structure"` } // String returns the string representation. @@ -6076,8 +8028,8 @@ func (s LabelsInputConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *LabelsInputConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "LabelsInputConfiguration"} - if s.S3InputConfiguration == nil { - invalidParams.Add(request.NewErrParamRequired("S3InputConfiguration")) + if s.LabelGroupName != nil && len(*s.LabelGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupName", 1)) } if s.S3InputConfiguration != nil { if err := s.S3InputConfiguration.Validate(); err != nil { @@ -6091,6 +8043,12 @@ func (s *LabelsInputConfiguration) Validate() error { return nil } +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *LabelsInputConfiguration) SetLabelGroupName(v string) *LabelsInputConfiguration { + s.LabelGroupName = &v + return s +} + // SetS3InputConfiguration sets the S3InputConfiguration field's value. func (s *LabelsInputConfiguration) SetS3InputConfiguration(v *LabelsS3InputConfiguration) *LabelsInputConfiguration { s.S3InputConfiguration = v @@ -6189,43 +8147,277 @@ func (s LargeTimestampGaps) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LargeTimestampGaps) GoString() string { +func (s LargeTimestampGaps) GoString() string { + return s.String() +} + +// SetMaxTimestampGapInDays sets the MaxTimestampGapInDays field's value. +func (s *LargeTimestampGaps) SetMaxTimestampGapInDays(v int64) *LargeTimestampGaps { + s.MaxTimestampGapInDays = &v + return s +} + +// SetNumberOfLargeTimestampGaps sets the NumberOfLargeTimestampGaps field's value. +func (s *LargeTimestampGaps) SetNumberOfLargeTimestampGaps(v int64) *LargeTimestampGaps { + s.NumberOfLargeTimestampGaps = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *LargeTimestampGaps) SetStatus(v string) *LargeTimestampGaps { + s.Status = &v + return s +} + +type ListDataIngestionJobsInput struct { + _ struct{} `type:"structure"` + + // The name of the dataset being used for the data ingestion job. + DatasetName *string `min:"1" type:"string"` + + // Specifies the maximum number of data ingestion jobs to list. + MaxResults *int64 `min:"1" type:"integer"` + + // An opaque pagination token indicating where to continue the listing of data + // ingestion jobs. + NextToken *string `type:"string"` + + // Indicates the status of the data ingestion job. + Status *string `type:"string" enum:"IngestionJobStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDataIngestionJobsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDataIngestionJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDataIngestionJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDataIngestionJobsInput"} + if s.DatasetName != nil && len(*s.DatasetName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDatasetName sets the DatasetName field's value. +func (s *ListDataIngestionJobsInput) SetDatasetName(v string) *ListDataIngestionJobsInput { + s.DatasetName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDataIngestionJobsInput) SetMaxResults(v int64) *ListDataIngestionJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDataIngestionJobsInput) SetNextToken(v string) *ListDataIngestionJobsInput { + s.NextToken = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ListDataIngestionJobsInput) SetStatus(v string) *ListDataIngestionJobsInput { + s.Status = &v + return s +} + +type ListDataIngestionJobsOutput struct { + _ struct{} `type:"structure"` + + // Specifies information about the specific data ingestion job, including dataset + // name and status. + DataIngestionJobSummaries []*DataIngestionJobSummary `type:"list"` + + // An opaque pagination token indicating where to continue the listing of data + // ingestion jobs. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDataIngestionJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDataIngestionJobsOutput) GoString() string { + return s.String() +} + +// SetDataIngestionJobSummaries sets the DataIngestionJobSummaries field's value. +func (s *ListDataIngestionJobsOutput) SetDataIngestionJobSummaries(v []*DataIngestionJobSummary) *ListDataIngestionJobsOutput { + s.DataIngestionJobSummaries = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDataIngestionJobsOutput) SetNextToken(v string) *ListDataIngestionJobsOutput { + s.NextToken = &v + return s +} + +type ListDatasetsInput struct { + _ struct{} `type:"structure"` + + // The beginning of the name of the datasets to be listed. + DatasetNameBeginsWith *string `min:"1" type:"string"` + + // Specifies the maximum number of datasets to list. + MaxResults *int64 `min:"1" type:"integer"` + + // An opaque pagination token indicating where to continue the listing of datasets. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDatasetsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDatasetsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListDatasetsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListDatasetsInput"} + if s.DatasetNameBeginsWith != nil && len(*s.DatasetNameBeginsWith) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DatasetNameBeginsWith", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDatasetNameBeginsWith sets the DatasetNameBeginsWith field's value. +func (s *ListDatasetsInput) SetDatasetNameBeginsWith(v string) *ListDatasetsInput { + s.DatasetNameBeginsWith = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListDatasetsInput) SetMaxResults(v int64) *ListDatasetsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListDatasetsInput) SetNextToken(v string) *ListDatasetsInput { + s.NextToken = &v + return s +} + +type ListDatasetsOutput struct { + _ struct{} `type:"structure"` + + // Provides information about the specified dataset, including creation time, + // dataset ARN, and status. + DatasetSummaries []*DatasetSummary `type:"list"` + + // An opaque pagination token indicating where to continue the listing of datasets. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDatasetsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListDatasetsOutput) GoString() string { return s.String() } -// SetMaxTimestampGapInDays sets the MaxTimestampGapInDays field's value. -func (s *LargeTimestampGaps) SetMaxTimestampGapInDays(v int64) *LargeTimestampGaps { - s.MaxTimestampGapInDays = &v - return s -} - -// SetNumberOfLargeTimestampGaps sets the NumberOfLargeTimestampGaps field's value. -func (s *LargeTimestampGaps) SetNumberOfLargeTimestampGaps(v int64) *LargeTimestampGaps { - s.NumberOfLargeTimestampGaps = &v +// SetDatasetSummaries sets the DatasetSummaries field's value. +func (s *ListDatasetsOutput) SetDatasetSummaries(v []*DatasetSummary) *ListDatasetsOutput { + s.DatasetSummaries = v return s } -// SetStatus sets the Status field's value. -func (s *LargeTimestampGaps) SetStatus(v string) *LargeTimestampGaps { - s.Status = &v +// SetNextToken sets the NextToken field's value. +func (s *ListDatasetsOutput) SetNextToken(v string) *ListDatasetsOutput { + s.NextToken = &v return s } -type ListDataIngestionJobsInput struct { +type ListInferenceEventsInput struct { _ struct{} `type:"structure"` - // The name of the dataset being used for the data ingestion job. - DatasetName *string `min:"1" type:"string"` + // The name of the inference scheduler for the inference events listed. + // + // InferenceSchedulerName is a required field + InferenceSchedulerName *string `min:"1" type:"string" required:"true"` - // Specifies the maximum number of data ingestion jobs to list. + // Returns all the inference events with an end start time equal to or greater + // than less than the end time given + // + // IntervalEndTime is a required field + IntervalEndTime *time.Time `type:"timestamp" required:"true"` + + // Lookout for Equipment will return all the inference events with an end time + // equal to or greater than the start time given. + // + // IntervalStartTime is a required field + IntervalStartTime *time.Time `type:"timestamp" required:"true"` + + // Specifies the maximum number of inference events to list. MaxResults *int64 `min:"1" type:"integer"` - // An opaque pagination token indicating where to continue the listing of data - // ingestion jobs. + // An opaque pagination token indicating where to continue the listing of inference + // events. NextToken *string `type:"string"` - - // Indicates the status of the data ingestion job. - Status *string `type:"string" enum:"IngestionJobStatus"` } // String returns the string representation. @@ -6233,7 +8425,7 @@ type ListDataIngestionJobsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListDataIngestionJobsInput) String() string { +func (s ListInferenceEventsInput) String() string { return awsutil.Prettify(s) } @@ -6242,15 +8434,24 @@ func (s ListDataIngestionJobsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListDataIngestionJobsInput) GoString() string { +func (s ListInferenceEventsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListDataIngestionJobsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListDataIngestionJobsInput"} - if s.DatasetName != nil && len(*s.DatasetName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1)) +func (s *ListInferenceEventsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInferenceEventsInput"} + if s.InferenceSchedulerName == nil { + invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) + } + if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) + } + if s.IntervalEndTime == nil { + invalidParams.Add(request.NewErrParamRequired("IntervalEndTime")) + } + if s.IntervalStartTime == nil { + invalidParams.Add(request.NewErrParamRequired("IntervalStartTime")) } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) @@ -6262,39 +8463,46 @@ func (s *ListDataIngestionJobsInput) Validate() error { return nil } -// SetDatasetName sets the DatasetName field's value. -func (s *ListDataIngestionJobsInput) SetDatasetName(v string) *ListDataIngestionJobsInput { - s.DatasetName = &v +// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. +func (s *ListInferenceEventsInput) SetInferenceSchedulerName(v string) *ListInferenceEventsInput { + s.InferenceSchedulerName = &v + return s +} + +// SetIntervalEndTime sets the IntervalEndTime field's value. +func (s *ListInferenceEventsInput) SetIntervalEndTime(v time.Time) *ListInferenceEventsInput { + s.IntervalEndTime = &v + return s +} + +// SetIntervalStartTime sets the IntervalStartTime field's value. +func (s *ListInferenceEventsInput) SetIntervalStartTime(v time.Time) *ListInferenceEventsInput { + s.IntervalStartTime = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListDataIngestionJobsInput) SetMaxResults(v int64) *ListDataIngestionJobsInput { +func (s *ListInferenceEventsInput) SetMaxResults(v int64) *ListInferenceEventsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDataIngestionJobsInput) SetNextToken(v string) *ListDataIngestionJobsInput { +func (s *ListInferenceEventsInput) SetNextToken(v string) *ListInferenceEventsInput { s.NextToken = &v return s } -// SetStatus sets the Status field's value. -func (s *ListDataIngestionJobsInput) SetStatus(v string) *ListDataIngestionJobsInput { - s.Status = &v - return s -} - -type ListDataIngestionJobsOutput struct { +type ListInferenceEventsOutput struct { _ struct{} `type:"structure"` - // Specifies information about the specific data ingestion job, including dataset - // name and status. - DataIngestionJobSummaries []*DataIngestionJobSummary `type:"list"` + // Provides an array of information about the individual inference events returned + // from the ListInferenceEvents operation, including scheduler used, event start + // time, event end time, diagnostics, and so on. + InferenceEventSummaries []*InferenceEventSummary `type:"list"` - // An opaque pagination token indicating where to continue the listing of data - // ingestion jobs. + // An opaque pagination token indicating where to continue the listing of inference + // executions. NextToken *string `type:"string"` } @@ -6303,7 +8511,7 @@ type ListDataIngestionJobsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListDataIngestionJobsOutput) String() string { +func (s ListInferenceEventsOutput) String() string { return awsutil.Prettify(s) } @@ -6312,33 +8520,47 @@ func (s ListDataIngestionJobsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListDataIngestionJobsOutput) GoString() string { +func (s ListInferenceEventsOutput) GoString() string { return s.String() } -// SetDataIngestionJobSummaries sets the DataIngestionJobSummaries field's value. -func (s *ListDataIngestionJobsOutput) SetDataIngestionJobSummaries(v []*DataIngestionJobSummary) *ListDataIngestionJobsOutput { - s.DataIngestionJobSummaries = v +// SetInferenceEventSummaries sets the InferenceEventSummaries field's value. +func (s *ListInferenceEventsOutput) SetInferenceEventSummaries(v []*InferenceEventSummary) *ListInferenceEventsOutput { + s.InferenceEventSummaries = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDataIngestionJobsOutput) SetNextToken(v string) *ListDataIngestionJobsOutput { +func (s *ListInferenceEventsOutput) SetNextToken(v string) *ListInferenceEventsOutput { s.NextToken = &v return s } -type ListDatasetsInput struct { +type ListInferenceExecutionsInput struct { _ struct{} `type:"structure"` - // The beginning of the name of the datasets to be listed. - DatasetNameBeginsWith *string `min:"1" type:"string"` + // The time reference in the inferenced dataset before which Amazon Lookout + // for Equipment stopped the inference execution. + DataEndTimeBefore *time.Time `type:"timestamp"` - // Specifies the maximum number of datasets to list. + // The time reference in the inferenced dataset after which Amazon Lookout for + // Equipment started the inference execution. + DataStartTimeAfter *time.Time `type:"timestamp"` + + // The name of the inference scheduler for the inference execution listed. + // + // InferenceSchedulerName is a required field + InferenceSchedulerName *string `min:"1" type:"string" required:"true"` + + // Specifies the maximum number of inference executions to list. MaxResults *int64 `min:"1" type:"integer"` - // An opaque pagination token indicating where to continue the listing of datasets. + // An opaque pagination token indicating where to continue the listing of inference + // executions. NextToken *string `type:"string"` + + // The status of the inference execution. + Status *string `type:"string" enum:"InferenceExecutionStatus"` } // String returns the string representation. @@ -6346,7 +8568,7 @@ type ListDatasetsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListDatasetsInput) String() string { +func (s ListInferenceExecutionsInput) String() string { return awsutil.Prettify(s) } @@ -6355,15 +8577,18 @@ func (s ListDatasetsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListDatasetsInput) GoString() string { +func (s ListInferenceExecutionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListDatasetsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListDatasetsInput"} - if s.DatasetNameBeginsWith != nil && len(*s.DatasetNameBeginsWith) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DatasetNameBeginsWith", 1)) +func (s *ListInferenceExecutionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInferenceExecutionsInput"} + if s.InferenceSchedulerName == nil { + invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) + } + if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) @@ -6375,32 +8600,52 @@ func (s *ListDatasetsInput) Validate() error { return nil } -// SetDatasetNameBeginsWith sets the DatasetNameBeginsWith field's value. -func (s *ListDatasetsInput) SetDatasetNameBeginsWith(v string) *ListDatasetsInput { - s.DatasetNameBeginsWith = &v +// SetDataEndTimeBefore sets the DataEndTimeBefore field's value. +func (s *ListInferenceExecutionsInput) SetDataEndTimeBefore(v time.Time) *ListInferenceExecutionsInput { + s.DataEndTimeBefore = &v + return s +} + +// SetDataStartTimeAfter sets the DataStartTimeAfter field's value. +func (s *ListInferenceExecutionsInput) SetDataStartTimeAfter(v time.Time) *ListInferenceExecutionsInput { + s.DataStartTimeAfter = &v + return s +} + +// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. +func (s *ListInferenceExecutionsInput) SetInferenceSchedulerName(v string) *ListInferenceExecutionsInput { + s.InferenceSchedulerName = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListDatasetsInput) SetMaxResults(v int64) *ListDatasetsInput { +func (s *ListInferenceExecutionsInput) SetMaxResults(v int64) *ListInferenceExecutionsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDatasetsInput) SetNextToken(v string) *ListDatasetsInput { +func (s *ListInferenceExecutionsInput) SetNextToken(v string) *ListInferenceExecutionsInput { s.NextToken = &v return s } -type ListDatasetsOutput struct { +// SetStatus sets the Status field's value. +func (s *ListInferenceExecutionsInput) SetStatus(v string) *ListInferenceExecutionsInput { + s.Status = &v + return s +} + +type ListInferenceExecutionsOutput struct { _ struct{} `type:"structure"` - // Provides information about the specified dataset, including creation time, - // dataset ARN, and status. - DatasetSummaries []*DatasetSummary `type:"list"` + // Provides an array of information about the individual inference executions + // returned from the ListInferenceExecutions operation, including model used, + // inference scheduler, data configuration, and so on. + InferenceExecutionSummaries []*InferenceExecutionSummary `type:"list"` - // An opaque pagination token indicating where to continue the listing of datasets. + // An opaque pagination token indicating where to continue the listing of inference + // executions. NextToken *string `type:"string"` } @@ -6409,7 +8654,7 @@ type ListDatasetsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListDatasetsOutput) String() string { +func (s ListInferenceExecutionsOutput) String() string { return awsutil.Prettify(s) } @@ -6418,47 +8663,36 @@ func (s ListDatasetsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListDatasetsOutput) GoString() string { +func (s ListInferenceExecutionsOutput) GoString() string { return s.String() } -// SetDatasetSummaries sets the DatasetSummaries field's value. -func (s *ListDatasetsOutput) SetDatasetSummaries(v []*DatasetSummary) *ListDatasetsOutput { - s.DatasetSummaries = v +// SetInferenceExecutionSummaries sets the InferenceExecutionSummaries field's value. +func (s *ListInferenceExecutionsOutput) SetInferenceExecutionSummaries(v []*InferenceExecutionSummary) *ListInferenceExecutionsOutput { + s.InferenceExecutionSummaries = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListDatasetsOutput) SetNextToken(v string) *ListDatasetsOutput { +func (s *ListInferenceExecutionsOutput) SetNextToken(v string) *ListInferenceExecutionsOutput { s.NextToken = &v return s } -type ListInferenceEventsInput struct { +type ListInferenceSchedulersInput struct { _ struct{} `type:"structure"` - // The name of the inference scheduler for the inference events listed. - // - // InferenceSchedulerName is a required field - InferenceSchedulerName *string `min:"1" type:"string" required:"true"` - - // Lookout for Equipment will return all the inference events with end time - // equal to or less than the end time given. - // - // IntervalEndTime is a required field - IntervalEndTime *time.Time `type:"timestamp" required:"true"` - - // Lookout for Equipment will return all the inference events with start time - // equal to or greater than the start time given. - // - // IntervalStartTime is a required field - IntervalStartTime *time.Time `type:"timestamp" required:"true"` + // The beginning of the name of the inference schedulers to be listed. + InferenceSchedulerNameBeginsWith *string `min:"1" type:"string"` - // Specifies the maximum number of inference events to list. + // Specifies the maximum number of inference schedulers to list. MaxResults *int64 `min:"1" type:"integer"` + // The name of the ML model used by the inference scheduler to be listed. + ModelName *string `min:"1" type:"string"` + // An opaque pagination token indicating where to continue the listing of inference - // events. + // schedulers. NextToken *string `type:"string"` } @@ -6467,7 +8701,7 @@ type ListInferenceEventsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceEventsInput) String() string { +func (s ListInferenceSchedulersInput) String() string { return awsutil.Prettify(s) } @@ -6476,28 +8710,22 @@ func (s ListInferenceEventsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceEventsInput) GoString() string { +func (s ListInferenceSchedulersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListInferenceEventsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInferenceEventsInput"} - if s.InferenceSchedulerName == nil { - invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) - } - if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) - } - if s.IntervalEndTime == nil { - invalidParams.Add(request.NewErrParamRequired("IntervalEndTime")) - } - if s.IntervalStartTime == nil { - invalidParams.Add(request.NewErrParamRequired("IntervalStartTime")) +func (s *ListInferenceSchedulersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInferenceSchedulersInput"} + if s.InferenceSchedulerNameBeginsWith != nil && len(*s.InferenceSchedulerNameBeginsWith) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerNameBeginsWith", 1)) } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.ModelName != nil && len(*s.ModelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -6505,46 +8733,39 @@ func (s *ListInferenceEventsInput) Validate() error { return nil } -// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. -func (s *ListInferenceEventsInput) SetInferenceSchedulerName(v string) *ListInferenceEventsInput { - s.InferenceSchedulerName = &v - return s -} - -// SetIntervalEndTime sets the IntervalEndTime field's value. -func (s *ListInferenceEventsInput) SetIntervalEndTime(v time.Time) *ListInferenceEventsInput { - s.IntervalEndTime = &v +// SetInferenceSchedulerNameBeginsWith sets the InferenceSchedulerNameBeginsWith field's value. +func (s *ListInferenceSchedulersInput) SetInferenceSchedulerNameBeginsWith(v string) *ListInferenceSchedulersInput { + s.InferenceSchedulerNameBeginsWith = &v return s } -// SetIntervalStartTime sets the IntervalStartTime field's value. -func (s *ListInferenceEventsInput) SetIntervalStartTime(v time.Time) *ListInferenceEventsInput { - s.IntervalStartTime = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListInferenceSchedulersInput) SetMaxResults(v int64) *ListInferenceSchedulersInput { + s.MaxResults = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListInferenceEventsInput) SetMaxResults(v int64) *ListInferenceEventsInput { - s.MaxResults = &v +// SetModelName sets the ModelName field's value. +func (s *ListInferenceSchedulersInput) SetModelName(v string) *ListInferenceSchedulersInput { + s.ModelName = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInferenceEventsInput) SetNextToken(v string) *ListInferenceEventsInput { +func (s *ListInferenceSchedulersInput) SetNextToken(v string) *ListInferenceSchedulersInput { s.NextToken = &v return s } -type ListInferenceEventsOutput struct { +type ListInferenceSchedulersOutput struct { _ struct{} `type:"structure"` - // Provides an array of information about the individual inference events returned - // from the ListInferenceEvents operation, including scheduler used, event start - // time, event end time, diagnostics, and so on. - InferenceEventSummaries []*InferenceEventSummary `type:"list"` + // Provides information about the specified inference scheduler, including data + // upload frequency, model name and ARN, and status. + InferenceSchedulerSummaries []*InferenceSchedulerSummary `type:"list"` // An opaque pagination token indicating where to continue the listing of inference - // executions. + // schedulers. NextToken *string `type:"string"` } @@ -6553,7 +8774,7 @@ type ListInferenceEventsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceEventsOutput) String() string { +func (s ListInferenceSchedulersOutput) String() string { return awsutil.Prettify(s) } @@ -6562,47 +8783,34 @@ func (s ListInferenceEventsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceEventsOutput) GoString() string { +func (s ListInferenceSchedulersOutput) GoString() string { return s.String() } -// SetInferenceEventSummaries sets the InferenceEventSummaries field's value. -func (s *ListInferenceEventsOutput) SetInferenceEventSummaries(v []*InferenceEventSummary) *ListInferenceEventsOutput { - s.InferenceEventSummaries = v +// SetInferenceSchedulerSummaries sets the InferenceSchedulerSummaries field's value. +func (s *ListInferenceSchedulersOutput) SetInferenceSchedulerSummaries(v []*InferenceSchedulerSummary) *ListInferenceSchedulersOutput { + s.InferenceSchedulerSummaries = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInferenceEventsOutput) SetNextToken(v string) *ListInferenceEventsOutput { +func (s *ListInferenceSchedulersOutput) SetNextToken(v string) *ListInferenceSchedulersOutput { s.NextToken = &v return s } -type ListInferenceExecutionsInput struct { +type ListLabelGroupsInput struct { _ struct{} `type:"structure"` - // The time reference in the inferenced dataset before which Amazon Lookout - // for Equipment stopped the inference execution. - DataEndTimeBefore *time.Time `type:"timestamp"` - - // The time reference in the inferenced dataset after which Amazon Lookout for - // Equipment started the inference execution. - DataStartTimeAfter *time.Time `type:"timestamp"` - - // The name of the inference scheduler for the inference execution listed. - // - // InferenceSchedulerName is a required field - InferenceSchedulerName *string `min:"1" type:"string" required:"true"` + // The beginning of the name of the label groups to be listed. + LabelGroupNameBeginsWith *string `min:"1" type:"string"` - // Specifies the maximum number of inference executions to list. + // Specifies the maximum number of label groups to list. MaxResults *int64 `min:"1" type:"integer"` - // An opaque pagination token indicating where to continue the listing of inference - // executions. + // An opaque pagination token indicating where to continue the listing of label + // groups. NextToken *string `type:"string"` - - // The status of the inference execution. - Status *string `type:"string" enum:"InferenceExecutionStatus"` } // String returns the string representation. @@ -6610,7 +8818,7 @@ type ListInferenceExecutionsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceExecutionsInput) String() string { +func (s ListLabelGroupsInput) String() string { return awsutil.Prettify(s) } @@ -6619,18 +8827,15 @@ func (s ListInferenceExecutionsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceExecutionsInput) GoString() string { +func (s ListLabelGroupsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListInferenceExecutionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInferenceExecutionsInput"} - if s.InferenceSchedulerName == nil { - invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName")) - } - if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1)) +func (s *ListLabelGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListLabelGroupsInput"} + if s.LabelGroupNameBeginsWith != nil && len(*s.LabelGroupNameBeginsWith) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupNameBeginsWith", 1)) } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) @@ -6642,52 +8847,32 @@ func (s *ListInferenceExecutionsInput) Validate() error { return nil } -// SetDataEndTimeBefore sets the DataEndTimeBefore field's value. -func (s *ListInferenceExecutionsInput) SetDataEndTimeBefore(v time.Time) *ListInferenceExecutionsInput { - s.DataEndTimeBefore = &v - return s -} - -// SetDataStartTimeAfter sets the DataStartTimeAfter field's value. -func (s *ListInferenceExecutionsInput) SetDataStartTimeAfter(v time.Time) *ListInferenceExecutionsInput { - s.DataStartTimeAfter = &v - return s -} - -// SetInferenceSchedulerName sets the InferenceSchedulerName field's value. -func (s *ListInferenceExecutionsInput) SetInferenceSchedulerName(v string) *ListInferenceExecutionsInput { - s.InferenceSchedulerName = &v +// SetLabelGroupNameBeginsWith sets the LabelGroupNameBeginsWith field's value. +func (s *ListLabelGroupsInput) SetLabelGroupNameBeginsWith(v string) *ListLabelGroupsInput { + s.LabelGroupNameBeginsWith = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListInferenceExecutionsInput) SetMaxResults(v int64) *ListInferenceExecutionsInput { +func (s *ListLabelGroupsInput) SetMaxResults(v int64) *ListLabelGroupsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInferenceExecutionsInput) SetNextToken(v string) *ListInferenceExecutionsInput { +func (s *ListLabelGroupsInput) SetNextToken(v string) *ListLabelGroupsInput { s.NextToken = &v return s } -// SetStatus sets the Status field's value. -func (s *ListInferenceExecutionsInput) SetStatus(v string) *ListInferenceExecutionsInput { - s.Status = &v - return s -} - -type ListInferenceExecutionsOutput struct { +type ListLabelGroupsOutput struct { _ struct{} `type:"structure"` - // Provides an array of information about the individual inference executions - // returned from the ListInferenceExecutions operation, including model used, - // inference scheduler, data configuration, and so on. - InferenceExecutionSummaries []*InferenceExecutionSummary `type:"list"` + // A summary of the label groups. + LabelGroupSummaries []*LabelGroupSummary `type:"list"` - // An opaque pagination token indicating where to continue the listing of inference - // executions. + // An opaque pagination token indicating where to continue the listing of label + // groups. NextToken *string `type:"string"` } @@ -6696,7 +8881,7 @@ type ListInferenceExecutionsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceExecutionsOutput) String() string { +func (s ListLabelGroupsOutput) String() string { return awsutil.Prettify(s) } @@ -6705,36 +8890,48 @@ func (s ListInferenceExecutionsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceExecutionsOutput) GoString() string { +func (s ListLabelGroupsOutput) GoString() string { return s.String() } -// SetInferenceExecutionSummaries sets the InferenceExecutionSummaries field's value. -func (s *ListInferenceExecutionsOutput) SetInferenceExecutionSummaries(v []*InferenceExecutionSummary) *ListInferenceExecutionsOutput { - s.InferenceExecutionSummaries = v +// SetLabelGroupSummaries sets the LabelGroupSummaries field's value. +func (s *ListLabelGroupsOutput) SetLabelGroupSummaries(v []*LabelGroupSummary) *ListLabelGroupsOutput { + s.LabelGroupSummaries = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInferenceExecutionsOutput) SetNextToken(v string) *ListInferenceExecutionsOutput { +func (s *ListLabelGroupsOutput) SetNextToken(v string) *ListLabelGroupsOutput { s.NextToken = &v return s } -type ListInferenceSchedulersInput struct { +type ListLabelsInput struct { _ struct{} `type:"structure"` - // The beginning of the name of the inference schedulers to be listed. - InferenceSchedulerNameBeginsWith *string `min:"1" type:"string"` + // Lists the labels that pertain to a particular piece of equipment. + Equipment *string `min:"1" type:"string"` - // Specifies the maximum number of inference schedulers to list. - MaxResults *int64 `min:"1" type:"integer"` + // Returns labels with a particular fault code. + FaultCode *string `min:"1" type:"string"` - // The name of the ML model used by the inference scheduler to be listed. - ModelName *string `min:"1" type:"string"` + // Returns all labels with a start time earlier than the end time given. + IntervalEndTime *time.Time `type:"timestamp"` - // An opaque pagination token indicating where to continue the listing of inference - // schedulers. + // Returns all the labels with a end time equal to or later than the start time + // given. + IntervalStartTime *time.Time `type:"timestamp"` + + // Retruns the name of the label group. + // + // LabelGroupName is a required field + LabelGroupName *string `min:"1" type:"string" required:"true"` + + // Specifies the maximum number of labels to list. + MaxResults *int64 `min:"1" type:"integer"` + + // An opaque pagination token indicating where to continue the listing of label + // groups. NextToken *string `type:"string"` } @@ -6743,7 +8940,7 @@ type ListInferenceSchedulersInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceSchedulersInput) String() string { +func (s ListLabelsInput) String() string { return awsutil.Prettify(s) } @@ -6752,22 +8949,28 @@ func (s ListInferenceSchedulersInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceSchedulersInput) GoString() string { +func (s ListLabelsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListInferenceSchedulersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInferenceSchedulersInput"} - if s.InferenceSchedulerNameBeginsWith != nil && len(*s.InferenceSchedulerNameBeginsWith) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerNameBeginsWith", 1)) +func (s *ListLabelsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListLabelsInput"} + if s.Equipment != nil && len(*s.Equipment) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Equipment", 1)) + } + if s.FaultCode != nil && len(*s.FaultCode) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FaultCode", 1)) + } + if s.LabelGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("LabelGroupName")) + } + if s.LabelGroupName != nil && len(*s.LabelGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupName", 1)) } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.ModelName != nil && len(*s.ModelName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) - } if invalidParams.Len() > 0 { return invalidParams @@ -6775,39 +8978,55 @@ func (s *ListInferenceSchedulersInput) Validate() error { return nil } -// SetInferenceSchedulerNameBeginsWith sets the InferenceSchedulerNameBeginsWith field's value. -func (s *ListInferenceSchedulersInput) SetInferenceSchedulerNameBeginsWith(v string) *ListInferenceSchedulersInput { - s.InferenceSchedulerNameBeginsWith = &v +// SetEquipment sets the Equipment field's value. +func (s *ListLabelsInput) SetEquipment(v string) *ListLabelsInput { + s.Equipment = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListInferenceSchedulersInput) SetMaxResults(v int64) *ListInferenceSchedulersInput { - s.MaxResults = &v +// SetFaultCode sets the FaultCode field's value. +func (s *ListLabelsInput) SetFaultCode(v string) *ListLabelsInput { + s.FaultCode = &v return s } -// SetModelName sets the ModelName field's value. -func (s *ListInferenceSchedulersInput) SetModelName(v string) *ListInferenceSchedulersInput { - s.ModelName = &v +// SetIntervalEndTime sets the IntervalEndTime field's value. +func (s *ListLabelsInput) SetIntervalEndTime(v time.Time) *ListLabelsInput { + s.IntervalEndTime = &v + return s +} + +// SetIntervalStartTime sets the IntervalStartTime field's value. +func (s *ListLabelsInput) SetIntervalStartTime(v time.Time) *ListLabelsInput { + s.IntervalStartTime = &v + return s +} + +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *ListLabelsInput) SetLabelGroupName(v string) *ListLabelsInput { + s.LabelGroupName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListLabelsInput) SetMaxResults(v int64) *ListLabelsInput { + s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInferenceSchedulersInput) SetNextToken(v string) *ListInferenceSchedulersInput { +func (s *ListLabelsInput) SetNextToken(v string) *ListLabelsInput { s.NextToken = &v return s } -type ListInferenceSchedulersOutput struct { +type ListLabelsOutput struct { _ struct{} `type:"structure"` - // Provides information about the specified inference scheduler, including data - // upload frequency, model name and ARN, and status. - InferenceSchedulerSummaries []*InferenceSchedulerSummary `type:"list"` + // A summary of the items in the label group. + LabelSummaries []*LabelSummary `type:"list"` - // An opaque pagination token indicating where to continue the listing of inference - // schedulers. + // An opaque pagination token indicating where to continue the listing of datasets. NextToken *string `type:"string"` } @@ -6816,7 +9035,7 @@ type ListInferenceSchedulersOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceSchedulersOutput) String() string { +func (s ListLabelsOutput) String() string { return awsutil.Prettify(s) } @@ -6825,18 +9044,18 @@ func (s ListInferenceSchedulersOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListInferenceSchedulersOutput) GoString() string { +func (s ListLabelsOutput) GoString() string { return s.String() } -// SetInferenceSchedulerSummaries sets the InferenceSchedulerSummaries field's value. -func (s *ListInferenceSchedulersOutput) SetInferenceSchedulerSummaries(v []*InferenceSchedulerSummary) *ListInferenceSchedulersOutput { - s.InferenceSchedulerSummaries = v +// SetLabelSummaries sets the LabelSummaries field's value. +func (s *ListLabelsOutput) SetLabelSummaries(v []*LabelSummary) *ListLabelsOutput { + s.LabelSummaries = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInferenceSchedulersOutput) SetNextToken(v string) *ListInferenceSchedulersOutput { +func (s *ListLabelsOutput) SetNextToken(v string) *ListLabelsOutput { s.NextToken = &v return s } @@ -8640,6 +10859,89 @@ func (s UpdateInferenceSchedulerOutput) GoString() string { return s.String() } +type UpdateLabelGroupInput struct { + _ struct{} `type:"structure"` + + // Updates the code indicating the type of anomaly associated with the label. + // + // Data in this field will be retained for service usage. Follow best practices + // for the security of your data. + FaultCodes []*string `type:"list"` + + // The name of the label group to be updated. + // + // LabelGroupName is a required field + LabelGroupName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateLabelGroupInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateLabelGroupInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateLabelGroupInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateLabelGroupInput"} + if s.LabelGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("LabelGroupName")) + } + if s.LabelGroupName != nil && len(*s.LabelGroupName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LabelGroupName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFaultCodes sets the FaultCodes field's value. +func (s *UpdateLabelGroupInput) SetFaultCodes(v []*string) *UpdateLabelGroupInput { + s.FaultCodes = v + return s +} + +// SetLabelGroupName sets the LabelGroupName field's value. +func (s *UpdateLabelGroupInput) SetLabelGroupName(v string) *UpdateLabelGroupInput { + s.LabelGroupName = &v + return s +} + +type UpdateLabelGroupOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateLabelGroupOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateLabelGroupOutput) GoString() string { + return s.String() +} + // The input fails to satisfy constraints specified by Amazon Lookout for Equipment // or a related AWS service that's being utilized. type ValidationException struct { @@ -8817,6 +11119,42 @@ func IngestionJobStatus_Values() []string { } } +const ( + // LabelRatingAnomaly is a LabelRating enum value + LabelRatingAnomaly = "ANOMALY" + + // LabelRatingNoAnomaly is a LabelRating enum value + LabelRatingNoAnomaly = "NO_ANOMALY" + + // LabelRatingNeutral is a LabelRating enum value + LabelRatingNeutral = "NEUTRAL" +) + +// LabelRating_Values returns all elements of the LabelRating enum +func LabelRating_Values() []string { + return []string{ + LabelRatingAnomaly, + LabelRatingNoAnomaly, + LabelRatingNeutral, + } +} + +const ( + // LatestInferenceResultAnomalous is a LatestInferenceResult enum value + LatestInferenceResultAnomalous = "ANOMALOUS" + + // LatestInferenceResultNormal is a LatestInferenceResult enum value + LatestInferenceResultNormal = "NORMAL" +) + +// LatestInferenceResult_Values returns all elements of the LatestInferenceResult enum +func LatestInferenceResult_Values() []string { + return []string{ + LatestInferenceResultAnomalous, + LatestInferenceResultNormal, + } +} + const ( // ModelStatusInProgress is a ModelStatus enum value ModelStatusInProgress = "IN_PROGRESS" diff --git a/service/lookoutequipment/lookoutequipmentiface/interface.go b/service/lookoutequipment/lookoutequipmentiface/interface.go index c79e9966ad..f68e8a343f 100644 --- a/service/lookoutequipment/lookoutequipmentiface/interface.go +++ b/service/lookoutequipment/lookoutequipmentiface/interface.go @@ -68,6 +68,14 @@ type LookoutEquipmentAPI interface { CreateInferenceSchedulerWithContext(aws.Context, *lookoutequipment.CreateInferenceSchedulerInput, ...request.Option) (*lookoutequipment.CreateInferenceSchedulerOutput, error) CreateInferenceSchedulerRequest(*lookoutequipment.CreateInferenceSchedulerInput) (*request.Request, *lookoutequipment.CreateInferenceSchedulerOutput) + CreateLabel(*lookoutequipment.CreateLabelInput) (*lookoutequipment.CreateLabelOutput, error) + CreateLabelWithContext(aws.Context, *lookoutequipment.CreateLabelInput, ...request.Option) (*lookoutequipment.CreateLabelOutput, error) + CreateLabelRequest(*lookoutequipment.CreateLabelInput) (*request.Request, *lookoutequipment.CreateLabelOutput) + + CreateLabelGroup(*lookoutequipment.CreateLabelGroupInput) (*lookoutequipment.CreateLabelGroupOutput, error) + CreateLabelGroupWithContext(aws.Context, *lookoutequipment.CreateLabelGroupInput, ...request.Option) (*lookoutequipment.CreateLabelGroupOutput, error) + CreateLabelGroupRequest(*lookoutequipment.CreateLabelGroupInput) (*request.Request, *lookoutequipment.CreateLabelGroupOutput) + CreateModel(*lookoutequipment.CreateModelInput) (*lookoutequipment.CreateModelOutput, error) CreateModelWithContext(aws.Context, *lookoutequipment.CreateModelInput, ...request.Option) (*lookoutequipment.CreateModelOutput, error) CreateModelRequest(*lookoutequipment.CreateModelInput) (*request.Request, *lookoutequipment.CreateModelOutput) @@ -80,6 +88,14 @@ type LookoutEquipmentAPI interface { DeleteInferenceSchedulerWithContext(aws.Context, *lookoutequipment.DeleteInferenceSchedulerInput, ...request.Option) (*lookoutequipment.DeleteInferenceSchedulerOutput, error) DeleteInferenceSchedulerRequest(*lookoutequipment.DeleteInferenceSchedulerInput) (*request.Request, *lookoutequipment.DeleteInferenceSchedulerOutput) + DeleteLabel(*lookoutequipment.DeleteLabelInput) (*lookoutequipment.DeleteLabelOutput, error) + DeleteLabelWithContext(aws.Context, *lookoutequipment.DeleteLabelInput, ...request.Option) (*lookoutequipment.DeleteLabelOutput, error) + DeleteLabelRequest(*lookoutequipment.DeleteLabelInput) (*request.Request, *lookoutequipment.DeleteLabelOutput) + + DeleteLabelGroup(*lookoutequipment.DeleteLabelGroupInput) (*lookoutequipment.DeleteLabelGroupOutput, error) + DeleteLabelGroupWithContext(aws.Context, *lookoutequipment.DeleteLabelGroupInput, ...request.Option) (*lookoutequipment.DeleteLabelGroupOutput, error) + DeleteLabelGroupRequest(*lookoutequipment.DeleteLabelGroupInput) (*request.Request, *lookoutequipment.DeleteLabelGroupOutput) + DeleteModel(*lookoutequipment.DeleteModelInput) (*lookoutequipment.DeleteModelOutput, error) DeleteModelWithContext(aws.Context, *lookoutequipment.DeleteModelInput, ...request.Option) (*lookoutequipment.DeleteModelOutput, error) DeleteModelRequest(*lookoutequipment.DeleteModelInput) (*request.Request, *lookoutequipment.DeleteModelOutput) @@ -96,6 +112,14 @@ type LookoutEquipmentAPI interface { DescribeInferenceSchedulerWithContext(aws.Context, *lookoutequipment.DescribeInferenceSchedulerInput, ...request.Option) (*lookoutequipment.DescribeInferenceSchedulerOutput, error) DescribeInferenceSchedulerRequest(*lookoutequipment.DescribeInferenceSchedulerInput) (*request.Request, *lookoutequipment.DescribeInferenceSchedulerOutput) + DescribeLabel(*lookoutequipment.DescribeLabelInput) (*lookoutequipment.DescribeLabelOutput, error) + DescribeLabelWithContext(aws.Context, *lookoutequipment.DescribeLabelInput, ...request.Option) (*lookoutequipment.DescribeLabelOutput, error) + DescribeLabelRequest(*lookoutequipment.DescribeLabelInput) (*request.Request, *lookoutequipment.DescribeLabelOutput) + + DescribeLabelGroup(*lookoutequipment.DescribeLabelGroupInput) (*lookoutequipment.DescribeLabelGroupOutput, error) + DescribeLabelGroupWithContext(aws.Context, *lookoutequipment.DescribeLabelGroupInput, ...request.Option) (*lookoutequipment.DescribeLabelGroupOutput, error) + DescribeLabelGroupRequest(*lookoutequipment.DescribeLabelGroupInput) (*request.Request, *lookoutequipment.DescribeLabelGroupOutput) + DescribeModel(*lookoutequipment.DescribeModelInput) (*lookoutequipment.DescribeModelOutput, error) DescribeModelWithContext(aws.Context, *lookoutequipment.DescribeModelInput, ...request.Option) (*lookoutequipment.DescribeModelOutput, error) DescribeModelRequest(*lookoutequipment.DescribeModelInput) (*request.Request, *lookoutequipment.DescribeModelOutput) @@ -135,6 +159,20 @@ type LookoutEquipmentAPI interface { ListInferenceSchedulersPages(*lookoutequipment.ListInferenceSchedulersInput, func(*lookoutequipment.ListInferenceSchedulersOutput, bool) bool) error ListInferenceSchedulersPagesWithContext(aws.Context, *lookoutequipment.ListInferenceSchedulersInput, func(*lookoutequipment.ListInferenceSchedulersOutput, bool) bool, ...request.Option) error + ListLabelGroups(*lookoutequipment.ListLabelGroupsInput) (*lookoutequipment.ListLabelGroupsOutput, error) + ListLabelGroupsWithContext(aws.Context, *lookoutequipment.ListLabelGroupsInput, ...request.Option) (*lookoutequipment.ListLabelGroupsOutput, error) + ListLabelGroupsRequest(*lookoutequipment.ListLabelGroupsInput) (*request.Request, *lookoutequipment.ListLabelGroupsOutput) + + ListLabelGroupsPages(*lookoutequipment.ListLabelGroupsInput, func(*lookoutequipment.ListLabelGroupsOutput, bool) bool) error + ListLabelGroupsPagesWithContext(aws.Context, *lookoutequipment.ListLabelGroupsInput, func(*lookoutequipment.ListLabelGroupsOutput, bool) bool, ...request.Option) error + + ListLabels(*lookoutequipment.ListLabelsInput) (*lookoutequipment.ListLabelsOutput, error) + ListLabelsWithContext(aws.Context, *lookoutequipment.ListLabelsInput, ...request.Option) (*lookoutequipment.ListLabelsOutput, error) + ListLabelsRequest(*lookoutequipment.ListLabelsInput) (*request.Request, *lookoutequipment.ListLabelsOutput) + + ListLabelsPages(*lookoutequipment.ListLabelsInput, func(*lookoutequipment.ListLabelsOutput, bool) bool) error + ListLabelsPagesWithContext(aws.Context, *lookoutequipment.ListLabelsInput, func(*lookoutequipment.ListLabelsOutput, bool) bool, ...request.Option) error + ListModels(*lookoutequipment.ListModelsInput) (*lookoutequipment.ListModelsOutput, error) ListModelsWithContext(aws.Context, *lookoutequipment.ListModelsInput, ...request.Option) (*lookoutequipment.ListModelsOutput, error) ListModelsRequest(*lookoutequipment.ListModelsInput) (*request.Request, *lookoutequipment.ListModelsOutput) @@ -176,6 +214,10 @@ type LookoutEquipmentAPI interface { UpdateInferenceScheduler(*lookoutequipment.UpdateInferenceSchedulerInput) (*lookoutequipment.UpdateInferenceSchedulerOutput, error) UpdateInferenceSchedulerWithContext(aws.Context, *lookoutequipment.UpdateInferenceSchedulerInput, ...request.Option) (*lookoutequipment.UpdateInferenceSchedulerOutput, error) UpdateInferenceSchedulerRequest(*lookoutequipment.UpdateInferenceSchedulerInput) (*request.Request, *lookoutequipment.UpdateInferenceSchedulerOutput) + + UpdateLabelGroup(*lookoutequipment.UpdateLabelGroupInput) (*lookoutequipment.UpdateLabelGroupOutput, error) + UpdateLabelGroupWithContext(aws.Context, *lookoutequipment.UpdateLabelGroupInput, ...request.Option) (*lookoutequipment.UpdateLabelGroupOutput, error) + UpdateLabelGroupRequest(*lookoutequipment.UpdateLabelGroupInput) (*request.Request, *lookoutequipment.UpdateLabelGroupOutput) } var _ LookoutEquipmentAPI = (*lookoutequipment.LookoutEquipment)(nil) diff --git a/service/macie2/api.go b/service/macie2/api.go index 25fb012274..0c6b1007a4 100644 --- a/service/macie2/api.go +++ b/service/macie2/api.go @@ -223,6 +223,110 @@ func (c *Macie2) BatchGetCustomDataIdentifiersWithContext(ctx aws.Context, input return out, req.Send() } +const opCreateAllowList = "CreateAllowList" + +// CreateAllowListRequest generates a "aws/request.Request" representing the +// client's request for the CreateAllowList operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateAllowList for more information on using the CreateAllowList +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the CreateAllowListRequest method. +// req, resp := client.CreateAllowListRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowList +func (c *Macie2) CreateAllowListRequest(input *CreateAllowListInput) (req *request.Request, output *CreateAllowListOutput) { + op := &request.Operation{ + Name: opCreateAllowList, + HTTPMethod: "POST", + HTTPPath: "/allow-lists", + } + + if input == nil { + input = &CreateAllowListInput{} + } + + output = &CreateAllowListOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateAllowList API operation for Amazon Macie 2. +// +// Creates and defines the settings for an allow list. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation CreateAllowList for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowList +func (c *Macie2) CreateAllowList(input *CreateAllowListInput) (*CreateAllowListOutput, error) { + req, out := c.CreateAllowListRequest(input) + return out, req.Send() +} + +// CreateAllowListWithContext is the same as CreateAllowList with the addition of +// the ability to pass a context and additional request options. +// +// See CreateAllowList for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) CreateAllowListWithContext(ctx aws.Context, input *CreateAllowListInput, opts ...request.Option) (*CreateAllowListOutput, error) { + req, out := c.CreateAllowListRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateClassificationJob = "CreateClassificationJob" // CreateClassificationJobRequest generates a "aws/request.Request" representing the @@ -953,6 +1057,103 @@ func (c *Macie2) DeclineInvitationsWithContext(ctx aws.Context, input *DeclineIn return out, req.Send() } +const opDeleteAllowList = "DeleteAllowList" + +// DeleteAllowListRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAllowList operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteAllowList for more information on using the DeleteAllowList +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteAllowListRequest method. +// req, resp := client.DeleteAllowListRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowList +func (c *Macie2) DeleteAllowListRequest(input *DeleteAllowListInput) (req *request.Request, output *DeleteAllowListOutput) { + op := &request.Operation{ + Name: opDeleteAllowList, + HTTPMethod: "DELETE", + HTTPPath: "/allow-lists/{id}", + } + + if input == nil { + input = &DeleteAllowListInput{} + } + + output = &DeleteAllowListOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteAllowList API operation for Amazon Macie 2. +// +// Deletes an allow list. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation DeleteAllowList for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowList +func (c *Macie2) DeleteAllowList(input *DeleteAllowListInput) (*DeleteAllowListOutput, error) { + req, out := c.DeleteAllowListRequest(input) + return out, req.Send() +} + +// DeleteAllowListWithContext is the same as DeleteAllowList with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAllowList for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) DeleteAllowListWithContext(ctx aws.Context, input *DeleteAllowListInput, opts ...request.Option) (*DeleteAllowListOutput, error) { + req, out := c.DeleteAllowListRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteCustomDataIdentifier = "DeleteCustomDataIdentifier" // DeleteCustomDataIdentifierRequest generates a "aws/request.Request" representing the @@ -2591,6 +2792,102 @@ func (c *Macie2) GetAdministratorAccountWithContext(ctx aws.Context, input *GetA return out, req.Send() } +const opGetAllowList = "GetAllowList" + +// GetAllowListRequest generates a "aws/request.Request" representing the +// client's request for the GetAllowList operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetAllowList for more information on using the GetAllowList +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetAllowListRequest method. +// req, resp := client.GetAllowListRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowList +func (c *Macie2) GetAllowListRequest(input *GetAllowListInput) (req *request.Request, output *GetAllowListOutput) { + op := &request.Operation{ + Name: opGetAllowList, + HTTPMethod: "GET", + HTTPPath: "/allow-lists/{id}", + } + + if input == nil { + input = &GetAllowListInput{} + } + + output = &GetAllowListOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAllowList API operation for Amazon Macie 2. +// +// Retrieves the settings and status of an allow list. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation GetAllowList for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowList +func (c *Macie2) GetAllowList(input *GetAllowListInput) (*GetAllowListOutput, error) { + req, out := c.GetAllowListRequest(input) + return out, req.Send() +} + +// GetAllowListWithContext is the same as GetAllowList with the addition of +// the ability to pass a context and additional request options. +// +// See GetAllowList for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) GetAllowListWithContext(ctx aws.Context, input *GetAllowListInput, opts ...request.Option) (*GetAllowListOutput, error) { + req, out := c.GetAllowListRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetBucketStatistics = "GetBucketStatistics" // GetBucketStatisticsRequest generates a "aws/request.Request" representing the @@ -3785,8 +4082,8 @@ func (c *Macie2) GetRevealConfigurationRequest(input *GetRevealConfigurationInpu // GetRevealConfiguration API operation for Amazon Macie 2. // -// Retrieves the status and configuration settings for retrieving (revealing) -// occurrences of sensitive data reported by findings. +// Retrieves the status and configuration settings for retrieving occurrences +// of sensitive data reported by findings. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3878,7 +4175,7 @@ func (c *Macie2) GetSensitiveDataOccurrencesRequest(input *GetSensitiveDataOccur // GetSensitiveDataOccurrences API operation for Amazon Macie 2. // -// Retrieves (reveals) occurrences of sensitive data reported by a finding. +// Retrieves occurrences of sensitive data reported by a finding. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3978,8 +4275,7 @@ func (c *Macie2) GetSensitiveDataOccurrencesAvailabilityRequest(input *GetSensit // GetSensitiveDataOccurrencesAvailability API operation for Amazon Macie 2. // -// Checks whether occurrences of sensitive data can be retrieved (revealed) -// for a finding. +// Checks whether occurrences of sensitive data can be retrieved for a finding. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4293,68 +4589,160 @@ func (c *Macie2) GetUsageTotalsWithContext(ctx aws.Context, input *GetUsageTotal return out, req.Send() } -const opListClassificationJobs = "ListClassificationJobs" +const opListAllowLists = "ListAllowLists" -// ListClassificationJobsRequest generates a "aws/request.Request" representing the -// client's request for the ListClassificationJobs operation. The "output" return +// ListAllowListsRequest generates a "aws/request.Request" representing the +// client's request for the ListAllowLists operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListClassificationJobs for more information on using the ListClassificationJobs +// See ListAllowLists for more information on using the ListAllowLists // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListClassificationJobsRequest method. -// req, resp := client.ListClassificationJobsRequest(params) +// // Example sending a request using the ListAllowListsRequest method. +// req, resp := client.ListAllowListsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs -func (c *Macie2) ListClassificationJobsRequest(input *ListClassificationJobsInput) (req *request.Request, output *ListClassificationJobsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowLists +func (c *Macie2) ListAllowListsRequest(input *ListAllowListsInput) (req *request.Request, output *ListAllowListsOutput) { op := &request.Operation{ - Name: opListClassificationJobs, - HTTPMethod: "POST", - HTTPPath: "/jobs/list", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, + Name: opListAllowLists, + HTTPMethod: "GET", + HTTPPath: "/allow-lists", } if input == nil { - input = &ListClassificationJobsInput{} + input = &ListAllowListsInput{} } - output = &ListClassificationJobsOutput{} + output = &ListAllowListsOutput{} req = c.newRequest(op, input, output) return } -// ListClassificationJobs API operation for Amazon Macie 2. +// ListAllowLists API operation for Amazon Macie 2. // -// Retrieves a subset of information about one or more classification jobs. +// Retrieves a subset of information about all the allow lists for an account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Macie 2's -// API operation ListClassificationJobs for usage and error information. +// API operation ListAllowLists for usage and error information. // // Returned Error Types: // -// - ValidationException -// Provides information about an error that occurred due to a syntax error in +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowLists +func (c *Macie2) ListAllowLists(input *ListAllowListsInput) (*ListAllowListsOutput, error) { + req, out := c.ListAllowListsRequest(input) + return out, req.Send() +} + +// ListAllowListsWithContext is the same as ListAllowLists with the addition of +// the ability to pass a context and additional request options. +// +// See ListAllowLists for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) ListAllowListsWithContext(ctx aws.Context, input *ListAllowListsInput, opts ...request.Option) (*ListAllowListsOutput, error) { + req, out := c.ListAllowListsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListClassificationJobs = "ListClassificationJobs" + +// ListClassificationJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListClassificationJobs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListClassificationJobs for more information on using the ListClassificationJobs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListClassificationJobsRequest method. +// req, resp := client.ListClassificationJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs +func (c *Macie2) ListClassificationJobsRequest(input *ListClassificationJobsInput) (req *request.Request, output *ListClassificationJobsOutput) { + op := &request.Operation{ + Name: opListClassificationJobs, + HTTPMethod: "POST", + HTTPPath: "/jobs/list", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListClassificationJobsInput{} + } + + output = &ListClassificationJobsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListClassificationJobs API operation for Amazon Macie 2. +// +// Retrieves a subset of information about one or more classification jobs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation ListClassificationJobs for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in // a request. // // - InternalServerException @@ -5541,8 +5929,8 @@ func (c *Macie2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (re // ListTagsForResource API operation for Amazon Macie 2. // -// Retrieves the tags (keys and values) that are associated with a classification -// job, custom data identifier, findings filter, or member account. +// Retrieves the tags (keys and values) that are associated with an Amazon Macie +// resource. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5989,8 +6377,7 @@ func (c *Macie2) TagResourceRequest(input *TagResourceInput) (req *request.Reque // TagResource API operation for Amazon Macie 2. // // Adds or updates one or more tags (keys and values) that are associated with -// a classification job, custom data identifier, findings filter, or member -// account. +// an Amazon Macie resource. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6168,8 +6555,7 @@ func (c *Macie2) UntagResourceRequest(input *UntagResourceInput) (req *request.R // UntagResource API operation for Amazon Macie 2. // -// Removes one or more tags (keys and values) from a classification job, custom -// data identifier, findings filter, or member account. +// Removes one or more tags (keys and values) from an Amazon Macie resource. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6199,6 +6585,102 @@ func (c *Macie2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceI return out, req.Send() } +const opUpdateAllowList = "UpdateAllowList" + +// UpdateAllowListRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAllowList operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateAllowList for more information on using the UpdateAllowList +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateAllowListRequest method. +// req, resp := client.UpdateAllowListRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList +func (c *Macie2) UpdateAllowListRequest(input *UpdateAllowListInput) (req *request.Request, output *UpdateAllowListOutput) { + op := &request.Operation{ + Name: opUpdateAllowList, + HTTPMethod: "PUT", + HTTPPath: "/allow-lists/{id}", + } + + if input == nil { + input = &UpdateAllowListInput{} + } + + output = &UpdateAllowListOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateAllowList API operation for Amazon Macie 2. +// +// Updates the settings for an allow list. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Macie 2's +// API operation UpdateAllowList for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. +// +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. +// +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList +func (c *Macie2) UpdateAllowList(input *UpdateAllowListInput) (*UpdateAllowListOutput, error) { + req, out := c.UpdateAllowListRequest(input) + return out, req.Send() +} + +// UpdateAllowListWithContext is the same as UpdateAllowList with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAllowList for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Macie2) UpdateAllowListWithContext(ctx aws.Context, input *UpdateAllowListInput, opts ...request.Option) (*UpdateAllowListOutput, error) { + req, out := c.UpdateAllowListRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateClassificationJob = "UpdateClassificationJob" // UpdateClassificationJobRequest generates a "aws/request.Request" representing the @@ -6768,8 +7250,8 @@ func (c *Macie2) UpdateRevealConfigurationRequest(input *UpdateRevealConfigurati // UpdateRevealConfiguration API operation for Amazon Macie 2. // -// Updates the status and configuration settings for retrieving (revealing) -// occurrences of sensitive data reported by findings. +// Updates the status and configuration settings for retrieving occurrences +// of sensitive data reported by findings. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7148,6 +7630,180 @@ func (s *AdminAccount) SetStatus(v string) *AdminAccount { return s } +// Specifies the criteria for an allow list. The criteria must specify a regular +// expression (regex) or an S3 object (s3WordsList). It can't specify both. +type AllowListCriteria struct { + _ struct{} `type:"structure"` + + Regex *string `locationName:"regex" min:"1" type:"string"` + + // Provides information about an S3 object that lists specific text to ignore. + S3WordsList *S3WordsList `locationName:"s3WordsList" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AllowListCriteria) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AllowListCriteria) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AllowListCriteria) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AllowListCriteria"} + if s.Regex != nil && len(*s.Regex) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Regex", 1)) + } + if s.S3WordsList != nil { + if err := s.S3WordsList.Validate(); err != nil { + invalidParams.AddNested("S3WordsList", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRegex sets the Regex field's value. +func (s *AllowListCriteria) SetRegex(v string) *AllowListCriteria { + s.Regex = &v + return s +} + +// SetS3WordsList sets the S3WordsList field's value. +func (s *AllowListCriteria) SetS3WordsList(v *S3WordsList) *AllowListCriteria { + s.S3WordsList = v + return s +} + +// Provides information about the current status of an allow list, which indicates +// whether Amazon Macie can access and use the list's criteria. +type AllowListStatus struct { + _ struct{} `type:"structure"` + + // Indicates the current status of an allow list. Depending on the type of criteria + // that the list specifies, possible values are: + // + // Code is a required field + Code *string `locationName:"code" type:"string" required:"true" enum:"AllowListStatusCode"` + + Description *string `locationName:"description" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AllowListStatus) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AllowListStatus) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *AllowListStatus) SetCode(v string) *AllowListStatus { + s.Code = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *AllowListStatus) SetDescription(v string) *AllowListStatus { + s.Description = &v + return s +} + +// Provides a subset of information about an allow list. +type AllowListSummary struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" min:"71" type:"string"` + + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` + + Description *string `locationName:"description" min:"1" type:"string"` + + Id *string `locationName:"id" min:"22" type:"string"` + + Name *string `locationName:"name" min:"1" type:"string"` + + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AllowListSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AllowListSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *AllowListSummary) SetArn(v string) *AllowListSummary { + s.Arn = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *AllowListSummary) SetCreatedAt(v time.Time) *AllowListSummary { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *AllowListSummary) SetDescription(v string) *AllowListSummary { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *AllowListSummary) SetId(v string) *AllowListSummary { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *AllowListSummary) SetName(v string) *AllowListSummary { + s.Name = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *AllowListSummary) SetUpdatedAt(v time.Time) *AllowListSummary { + s.UpdatedAt = &v + return s +} + // Provides information about an API operation that an entity invoked for an // affected resource. type ApiCallDetails struct { @@ -8638,25 +9294,191 @@ func (s ClassificationResultStatus) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ClassificationResultStatus) SetCode(v string) *ClassificationResultStatus { - s.Code = &v +// SetCode sets the Code field's value. +func (s *ClassificationResultStatus) SetCode(v string) *ClassificationResultStatus { + s.Code = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *ClassificationResultStatus) SetReason(v string) *ClassificationResultStatus { + s.Reason = &v + return s +} + +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Specifies the settings for an allow list. When Amazon Macie processes the +// request, Macie tests the list's criteria. If the criteria specify a regular +// expression that Macie can't compile or an S3 object that Macie can't retrieve +// or parse, an error occurs. +type CreateAllowListInput struct { + _ struct{} `type:"structure"` + + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` + + // Specifies the criteria for an allow list. The criteria must specify a regular + // expression (regex) or an S3 object (s3WordsList). It can't specify both. + // + // Criteria is a required field + Criteria *AllowListCriteria `locationName:"criteria" type:"structure" required:"true"` + + Description *string `locationName:"description" min:"1" type:"string"` + + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // A string-to-string map of key-value pairs that specifies the tags (keys and + // values) for an Amazon Macie resource. + Tags map[string]*string `locationName:"tags" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAllowListInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAllowListInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAllowListInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAllowListInput"} + if s.Criteria == nil { + invalidParams.Add(request.NewErrParamRequired("Criteria")) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Criteria != nil { + if err := s.Criteria.Validate(); err != nil { + invalidParams.AddNested("Criteria", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateAllowListInput) SetClientToken(v string) *CreateAllowListInput { + s.ClientToken = &v + return s +} + +// SetCriteria sets the Criteria field's value. +func (s *CreateAllowListInput) SetCriteria(v *AllowListCriteria) *CreateAllowListInput { + s.Criteria = v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateAllowListInput) SetDescription(v string) *CreateAllowListInput { + s.Description = &v return s } -// SetReason sets the Reason field's value. -func (s *ClassificationResultStatus) SetReason(v string) *ClassificationResultStatus { - s.Reason = &v +// SetName sets the Name field's value. +func (s *CreateAllowListInput) SetName(v string) *CreateAllowListInput { + s.Name = &v return s } -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. -type ConflictException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetTags sets the Tags field's value. +func (s *CreateAllowListInput) SetTags(v map[string]*string) *CreateAllowListInput { + s.Tags = v + return s +} - Message_ *string `locationName:"message" type:"string"` +// Provides information about an allow list that was created in response to +// a request. +type CreateAllowListOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" min:"71" type:"string"` + + Id *string `locationName:"id" min:"22" type:"string"` } // String returns the string representation. @@ -8664,7 +9486,7 @@ type ConflictException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ConflictException) String() string { +func (s CreateAllowListOutput) String() string { return awsutil.Prettify(s) } @@ -8673,46 +9495,20 @@ func (s ConflictException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ConflictException) GoString() string { +func (s CreateAllowListOutput) GoString() string { return s.String() } -func newErrorConflictException(v protocol.ResponseMetadata) error { - return &ConflictException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ConflictException) Code() string { - return "ConflictException" -} - -// Message returns the exception's message. -func (s *ConflictException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ConflictException) OrigErr() error { - return nil -} - -func (s *ConflictException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ConflictException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetArn sets the Arn field's value. +func (s *CreateAllowListOutput) SetArn(v string) *CreateAllowListOutput { + s.Arn = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ConflictException) RequestID() string { - return s.RespMetadata.RequestID +// SetId sets the Id field's value. +func (s *CreateAllowListOutput) SetId(v string) *CreateAllowListOutput { + s.Id = &v + return s } // Specifies the scope, schedule, and other settings for a classification job. @@ -8722,6 +9518,8 @@ func (s *ConflictException) RequestID() string { type CreateClassificationJobInput struct { _ struct{} `type:"structure"` + AllowListIds []*string `locationName:"allowListIds" type:"list"` + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` CustomDataIdentifierIds []*string `locationName:"customDataIdentifierIds" type:"list"` @@ -8760,8 +9558,7 @@ type CreateClassificationJobInput struct { ScheduleFrequency *JobScheduleFrequency `locationName:"scheduleFrequency" type:"structure"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` } @@ -8807,6 +9604,12 @@ func (s *CreateClassificationJobInput) Validate() error { return nil } +// SetAllowListIds sets the AllowListIds field's value. +func (s *CreateClassificationJobInput) SetAllowListIds(v []*string) *CreateClassificationJobInput { + s.AllowListIds = v + return s +} + // SetClientToken sets the ClientToken field's value. func (s *CreateClassificationJobInput) SetClientToken(v string) *CreateClassificationJobInput { s.ClientToken = &v @@ -8958,8 +9761,7 @@ type CreateCustomDataIdentifierInput struct { SeverityLevels []*SeverityLevel `locationName:"severityLevels" type:"list"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` } @@ -9120,8 +9922,7 @@ type CreateFindingsFilterInput struct { Position *int64 `locationName:"position" type:"integer"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` } @@ -9354,8 +10155,7 @@ type CreateMemberInput struct { Account *AccountDetail `locationName:"account" type:"structure" required:"true"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` } @@ -9770,9 +10570,7 @@ type CustomDetection struct { // Specifies the location of 1-15 occurrences of sensitive data that was detected // by a managed data identifier or a custom data identifier and produced a sensitive - // data finding. Depending on the file or storage format of the affected S3 - // object, you can optionally retrieve (reveal) sample occurrences of the sensitive - // data that was detected. + // data finding. Occurrences *Occurrences `locationName:"occurrences" type:"structure"` } @@ -9929,9 +10727,7 @@ type DefaultDetection struct { // Specifies the location of 1-15 occurrences of sensitive data that was detected // by a managed data identifier or a custom data identifier and produced a sensitive - // data finding. Depending on the file or storage format of the affected S3 - // object, you can optionally retrieve (reveal) sample occurrences of the sensitive - // data that was detected. + // data finding. Occurrences *Occurrences `locationName:"occurrences" type:"structure"` Type *string `locationName:"type" type:"string"` @@ -9973,6 +10769,83 @@ func (s *DefaultDetection) SetType(v string) *DefaultDetection { return s } +type DeleteAllowListInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` + + IgnoreJobChecks *string `location:"querystring" locationName:"ignoreJobChecks" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAllowListInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAllowListInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAllowListInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAllowListInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteAllowListInput) SetId(v string) *DeleteAllowListInput { + s.Id = &v + return s +} + +// SetIgnoreJobChecks sets the IgnoreJobChecks field's value. +func (s *DeleteAllowListInput) SetIgnoreJobChecks(v string) *DeleteAllowListInput { + s.IgnoreJobChecks = &v + return s +} + +type DeleteAllowListOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAllowListOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAllowListOutput) GoString() string { + return s.String() +} + type DeleteCustomDataIdentifierInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -10411,6 +11284,8 @@ func (s *DescribeClassificationJobInput) SetJobId(v string) *DescribeClassificat type DescribeClassificationJobOutput struct { _ struct{} `type:"structure"` + AllowListIds []*string `locationName:"allowListIds" type:"list"` + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` @@ -10464,8 +11339,7 @@ type DescribeClassificationJobOutput struct { Statistics *Statistics `locationName:"statistics" type:"structure"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` // Provides information about when a classification job was paused. For a one-time @@ -10496,6 +11370,12 @@ func (s DescribeClassificationJobOutput) GoString() string { return s.String() } +// SetAllowListIds sets the AllowListIds field's value. +func (s *DescribeClassificationJobOutput) SetAllowListIds(v []*string) *DescribeClassificationJobOutput { + s.AllowListIds = v + return s +} + // SetClientToken sets the ClientToken field's value. func (s *DescribeClassificationJobOutput) SetClientToken(v string) *DescribeClassificationJobOutput { s.ClientToken = &v @@ -11019,8 +11899,8 @@ type EnableMacieInput struct { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to Security Hub and Amazon - // EventBridge (formerly called Amazon CloudWatch Events). For more information, - // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) + // EventBridge (formerly Amazon CloudWatch Events). For more information, see + // Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` @@ -11600,8 +12480,7 @@ type FindingsFilterListItem struct { Name *string `locationName:"name" type:"string"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` } @@ -11694,18 +12573,166 @@ func (s GetAdministratorAccountOutput) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s GetAdministratorAccountOutput) GoString() string { - return s.String() +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAdministratorAccountOutput) GoString() string { + return s.String() +} + +// SetAdministrator sets the Administrator field's value. +func (s *GetAdministratorAccountOutput) SetAdministrator(v *Invitation) *GetAdministratorAccountOutput { + s.Administrator = v + return s +} + +type GetAllowListInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAllowListInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAllowListInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAllowListInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAllowListInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetAllowListInput) SetId(v string) *GetAllowListInput { + s.Id = &v + return s +} + +// Provides information about the settings and status of an allow list. +type GetAllowListOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" min:"71" type:"string"` + + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` + + // Specifies the criteria for an allow list. The criteria must specify a regular + // expression (regex) or an S3 object (s3WordsList). It can't specify both. + Criteria *AllowListCriteria `locationName:"criteria" type:"structure"` + + Description *string `locationName:"description" min:"1" type:"string"` + + Id *string `locationName:"id" min:"22" type:"string"` + + Name *string `locationName:"name" min:"1" type:"string"` + + // Provides information about the current status of an allow list, which indicates + // whether Amazon Macie can access and use the list's criteria. + Status *AllowListStatus `locationName:"status" type:"structure"` + + // A string-to-string map of key-value pairs that specifies the tags (keys and + // values) for an Amazon Macie resource. + Tags map[string]*string `locationName:"tags" type:"map"` + + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAllowListOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAllowListOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *GetAllowListOutput) SetArn(v string) *GetAllowListOutput { + s.Arn = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetAllowListOutput) SetCreatedAt(v time.Time) *GetAllowListOutput { + s.CreatedAt = &v + return s +} + +// SetCriteria sets the Criteria field's value. +func (s *GetAllowListOutput) SetCriteria(v *AllowListCriteria) *GetAllowListOutput { + s.Criteria = v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetAllowListOutput) SetDescription(v string) *GetAllowListOutput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetAllowListOutput) SetId(v string) *GetAllowListOutput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetAllowListOutput) SetName(v string) *GetAllowListOutput { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetAllowListOutput) SetStatus(v *AllowListStatus) *GetAllowListOutput { + s.Status = v + return s } -// SetAdministrator sets the Administrator field's value. -func (s *GetAdministratorAccountOutput) SetAdministrator(v *Invitation) *GetAdministratorAccountOutput { - s.Administrator = v +// SetTags sets the Tags field's value. +func (s *GetAllowListOutput) SetTags(v map[string]*string) *GetAllowListOutput { + s.Tags = v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *GetAllowListOutput) SetUpdatedAt(v time.Time) *GetAllowListOutput { + s.UpdatedAt = &v return s } @@ -12038,8 +13065,7 @@ type GetCustomDataIdentifierOutput struct { SeverityLevels []*SeverityLevel `locationName:"severityLevels" type:"list"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` } @@ -12311,8 +13337,7 @@ type GetFindingsFilterOutput struct { Position *int64 `locationName:"position" type:"integer"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` } @@ -12611,8 +13636,8 @@ type GetMacieSessionOutput struct { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to Security Hub and Amazon - // EventBridge (formerly called Amazon CloudWatch Events). For more information, - // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) + // EventBridge (formerly Amazon CloudWatch Events). For more information, see + // Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` @@ -12797,8 +13822,7 @@ type GetMemberOutput struct { RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"` @@ -12907,9 +13931,9 @@ type GetRevealConfigurationOutput struct { // Specifies the configuration settings for retrieving occurrences of sensitive // data reported by findings, and the status of the configuration for an Amazon // Macie account. When you enable the configuration for the first time, your - // request must specify an AWS Key Management Service (AWS KMS) key. Otherwise, - // an error occurs. Macie uses the specified key to encrypt the sensitive data - // that you retrieve. + // request must specify an Key Management Service (KMS) key. Otherwise, an error + // occurs. Macie uses the specified key to encrypt the sensitive data that you + // retrieve. Configuration *RevealConfiguration `locationName:"configuration" type:"structure"` } @@ -14143,6 +15167,96 @@ func (s *LastRunErrorStatus) SetCode(v string) *LastRunErrorStatus { return s } +type ListAllowListsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAllowListsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAllowListsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAllowListsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAllowListsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAllowListsInput) SetMaxResults(v int64) *ListAllowListsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAllowListsInput) SetNextToken(v string) *ListAllowListsInput { + s.NextToken = &v + return s +} + +// Provides the results of a request for information about allow lists. +type ListAllowListsOutput struct { + _ struct{} `type:"structure"` + + AllowLists []*AllowListSummary `locationName:"allowLists" type:"list"` + + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAllowListsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAllowListsOutput) GoString() string { + return s.String() +} + +// SetAllowLists sets the AllowLists field's value. +func (s *ListAllowListsOutput) SetAllowLists(v []*AllowListSummary) *ListAllowListsOutput { + s.AllowLists = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAllowListsOutput) SetNextToken(v string) *ListAllowListsOutput { + s.NextToken = &v + return s +} + // Specifies criteria for filtering, sorting, and paginating the results of // a request for information about classification jobs. type ListClassificationJobsInput struct { @@ -15044,14 +16158,12 @@ func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResource } // Provides information about the tags (keys and values) that are associated -// with a classification job, custom data identifier, findings filter, or member -// account. +// with an Amazon Macie resource. type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` } @@ -15335,8 +16447,7 @@ type Member struct { RelationshipStatus *string `locationName:"relationshipStatus" type:"string" enum:"RelationshipStatus"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. Tags map[string]*string `locationName:"tags" type:"map"` UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"` @@ -15564,9 +16675,7 @@ func (s *ObjectLevelStatistics) SetTotal(v int64) *ObjectLevelStatistics { // Specifies the location of 1-15 occurrences of sensitive data that was detected // by a managed data identifier or a custom data identifier and produced a sensitive -// data finding. Depending on the file or storage format of the affected S3 -// object, you can optionally retrieve (reveal) sample occurrences of the sensitive -// data that was detected. +// data finding. type Occurrences struct { _ struct{} `type:"structure"` @@ -16153,16 +17262,16 @@ func (s *ResourcesAffected) SetS3Object(v *S3Object) *ResourcesAffected { // Specifies the configuration settings for retrieving occurrences of sensitive // data reported by findings, and the status of the configuration for an Amazon // Macie account. When you enable the configuration for the first time, your -// request must specify an AWS Key Management Service (AWS KMS) key. Otherwise, -// an error occurs. Macie uses the specified key to encrypt the sensitive data -// that you retrieve. +// request must specify an Key Management Service (KMS) key. Otherwise, an error +// occurs. Macie uses the specified key to encrypt the sensitive data that you +// retrieve. type RevealConfiguration struct { _ struct{} `type:"structure"` KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"` - // The status of the configuration for the Amazon Macie account. In a request, - // valid values are: + // The status of the configuration for retrieving occurrences of sensitive data + // reported by findings. Valid values are: // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"RevealStatus"` @@ -16722,6 +17831,69 @@ func (s *S3Object) SetVersionId(v string) *S3Object { return s } +// Provides information about an S3 object that lists specific text to ignore. +type S3WordsList struct { + _ struct{} `type:"structure"` + + // BucketName is a required field + BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"` + + // ObjectKey is a required field + ObjectKey *string `locationName:"objectKey" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3WordsList) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3WordsList) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3WordsList) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3WordsList"} + if s.BucketName == nil { + invalidParams.Add(request.NewErrParamRequired("BucketName")) + } + if s.BucketName != nil && len(*s.BucketName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("BucketName", 3)) + } + if s.ObjectKey == nil { + invalidParams.Add(request.NewErrParamRequired("ObjectKey")) + } + if s.ObjectKey != nil && len(*s.ObjectKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ObjectKey", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBucketName sets the BucketName field's value. +func (s *S3WordsList) SetBucketName(v string) *S3WordsList { + s.BucketName = &v + return s +} + +// SetObjectKey sets the ObjectKey field's value. +func (s *S3WordsList) SetObjectKey(v string) *S3WordsList { + s.ObjectKey = &v + return s +} + // Specifies one or more property- and tag-based conditions that define criteria // for including or excluding S3 objects from a classification job. Exclude // conditions take precedence over include conditions. @@ -17956,8 +19128,7 @@ func (s *TagCriterionPairForJob) SetValue(v string) *TagCriterionPairForJob { return s } -// Specifies the tags (keys and values) to associate with a classification job, -// custom data identifier, findings filter, or member account. +// Specifies the tags (keys and values) to associate with an Amazon Macie resource. type TagResourceInput struct { _ struct{} `type:"structure"` @@ -17965,8 +19136,7 @@ type TagResourceInput struct { ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` // A string-to-string map of key-value pairs that specifies the tags (keys and - // values) for a classification job, custom data identifier, findings filter, - // or member account. + // values) for an Amazon Macie resource. // // Tags is a required field Tags map[string]*string `locationName:"tags" type:"map" required:"true"` @@ -18021,7 +19191,7 @@ func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { return s } -// The request succeeded. The specified tags were added to the resource. +// The request succeeded. The specified tags were added or updated for the resource. type TagResourceOutput struct { _ struct{} `type:"structure"` } @@ -18517,6 +19687,143 @@ func (s UntagResourceOutput) GoString() string { return s.String() } +// Changes the settings for an allow list. If you change the list's criteria, +// Amazon Macie tests the new criteria when it processes your request. If the +// criteria specify a regular expression that Macie can't compile or an S3 object +// that Macie can't retrieve or parse, an error occurs. +type UpdateAllowListInput struct { + _ struct{} `type:"structure"` + + // Specifies the criteria for an allow list. The criteria must specify a regular + // expression (regex) or an S3 object (s3WordsList). It can't specify both. + // + // Criteria is a required field + Criteria *AllowListCriteria `locationName:"criteria" type:"structure" required:"true"` + + Description *string `locationName:"description" min:"1" type:"string"` + + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` + + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAllowListInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAllowListInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAllowListInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAllowListInput"} + if s.Criteria == nil { + invalidParams.Add(request.NewErrParamRequired("Criteria")) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Criteria != nil { + if err := s.Criteria.Validate(); err != nil { + invalidParams.AddNested("Criteria", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCriteria sets the Criteria field's value. +func (s *UpdateAllowListInput) SetCriteria(v *AllowListCriteria) *UpdateAllowListInput { + s.Criteria = v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateAllowListInput) SetDescription(v string) *UpdateAllowListInput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateAllowListInput) SetId(v string) *UpdateAllowListInput { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateAllowListInput) SetName(v string) *UpdateAllowListInput { + s.Name = &v + return s +} + +// Provides information about an allow list whose settings were changed in response +// to a request. +type UpdateAllowListOutput struct { + _ struct{} `type:"structure"` + + Arn *string `locationName:"arn" min:"71" type:"string"` + + Id *string `locationName:"id" min:"22" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAllowListOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAllowListOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *UpdateAllowListOutput) SetArn(v string) *UpdateAllowListOutput { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateAllowListOutput) SetId(v string) *UpdateAllowListOutput { + s.Id = &v + return s +} + // Changes the status of a classification job. For more information about pausing, // resuming, or cancelling jobs, see Managing sensitive data discovery jobs // (https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-manage.html) @@ -18751,8 +20058,8 @@ type UpdateMacieSessionInput struct { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to Security Hub and Amazon - // EventBridge (formerly called Amazon CloudWatch Events). For more information, - // see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) + // EventBridge (formerly Amazon CloudWatch Events). For more information, see + // Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) // in the Amazon Macie User Guide. Valid values are: FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` @@ -18973,9 +20280,9 @@ type UpdateRevealConfigurationInput struct { // Specifies the configuration settings for retrieving occurrences of sensitive // data reported by findings, and the status of the configuration for an Amazon // Macie account. When you enable the configuration for the first time, your - // request must specify an AWS Key Management Service (AWS KMS) key. Otherwise, - // an error occurs. Macie uses the specified key to encrypt the sensitive data - // that you retrieve. + // request must specify an Key Management Service (KMS) key. Otherwise, an error + // occurs. Macie uses the specified key to encrypt the sensitive data that you + // retrieve. // // Configuration is a required field Configuration *RevealConfiguration `locationName:"configuration" type:"structure" required:"true"` @@ -19032,9 +20339,9 @@ type UpdateRevealConfigurationOutput struct { // Specifies the configuration settings for retrieving occurrences of sensitive // data reported by findings, and the status of the configuration for an Amazon // Macie account. When you enable the configuration for the first time, your - // request must specify an AWS Key Management Service (AWS KMS) key. Otherwise, - // an error occurs. Macie uses the specified key to encrypt the sensitive data - // that you retrieve. + // request must specify an Key Management Service (KMS) key. Otherwise, an error + // occurs. Macie uses the specified key to encrypt the sensitive data that you + // retrieve. Configuration *RevealConfiguration `locationName:"configuration" type:"structure"` } @@ -19633,6 +20940,48 @@ func AdminStatus_Values() []string { } } +// Indicates the current status of an allow list. Depending on the type of criteria +// that the list specifies, possible values are: +const ( + // AllowListStatusCodeOk is a AllowListStatusCode enum value + AllowListStatusCodeOk = "OK" + + // AllowListStatusCodeS3ObjectNotFound is a AllowListStatusCode enum value + AllowListStatusCodeS3ObjectNotFound = "S3_OBJECT_NOT_FOUND" + + // AllowListStatusCodeS3UserAccessDenied is a AllowListStatusCode enum value + AllowListStatusCodeS3UserAccessDenied = "S3_USER_ACCESS_DENIED" + + // AllowListStatusCodeS3ObjectAccessDenied is a AllowListStatusCode enum value + AllowListStatusCodeS3ObjectAccessDenied = "S3_OBJECT_ACCESS_DENIED" + + // AllowListStatusCodeS3Throttled is a AllowListStatusCode enum value + AllowListStatusCodeS3Throttled = "S3_THROTTLED" + + // AllowListStatusCodeS3ObjectOversize is a AllowListStatusCode enum value + AllowListStatusCodeS3ObjectOversize = "S3_OBJECT_OVERSIZE" + + // AllowListStatusCodeS3ObjectEmpty is a AllowListStatusCode enum value + AllowListStatusCodeS3ObjectEmpty = "S3_OBJECT_EMPTY" + + // AllowListStatusCodeUnknownError is a AllowListStatusCode enum value + AllowListStatusCodeUnknownError = "UNKNOWN_ERROR" +) + +// AllowListStatusCode_Values returns all elements of the AllowListStatusCode enum +func AllowListStatusCode_Values() []string { + return []string{ + AllowListStatusCodeOk, + AllowListStatusCodeS3ObjectNotFound, + AllowListStatusCodeS3UserAccessDenied, + AllowListStatusCodeS3ObjectAccessDenied, + AllowListStatusCodeS3Throttled, + AllowListStatusCodeS3ObjectOversize, + AllowListStatusCodeS3ObjectEmpty, + AllowListStatusCodeUnknownError, + } +} + const ( // AllowsUnencryptedObjectUploadsTrue is a AllowsUnencryptedObjectUploads enum value AllowsUnencryptedObjectUploadsTrue = "TRUE" @@ -19853,8 +21202,8 @@ func FindingCategory_Values() []string { // The frequency with which Amazon Macie publishes updates to policy findings // for an account. This includes publishing updates to Security Hub and Amazon -// EventBridge (formerly called Amazon CloudWatch Events). For more information, -// see Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) +// EventBridge (formerly Amazon CloudWatch Events). For more information, see +// Monitoring and processing findings (https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html) // in the Amazon Macie User Guide. Valid values are: const ( // FindingPublishingFrequencyFifteenMinutes is a FindingPublishingFrequency enum value @@ -20333,8 +21682,8 @@ func RevealRequestStatus_Values() []string { } } -// The status of the configuration for the Amazon Macie account. In a request, -// valid values are: +// The status of the configuration for retrieving occurrences of sensitive data +// reported by findings. Valid values are: const ( // RevealStatusEnabled is a RevealStatus enum value RevealStatusEnabled = "ENABLED" diff --git a/service/macie2/macie2iface/interface.go b/service/macie2/macie2iface/interface.go index 812924a793..4968f0a13f 100644 --- a/service/macie2/macie2iface/interface.go +++ b/service/macie2/macie2iface/interface.go @@ -68,6 +68,10 @@ type Macie2API interface { BatchGetCustomDataIdentifiersWithContext(aws.Context, *macie2.BatchGetCustomDataIdentifiersInput, ...request.Option) (*macie2.BatchGetCustomDataIdentifiersOutput, error) BatchGetCustomDataIdentifiersRequest(*macie2.BatchGetCustomDataIdentifiersInput) (*request.Request, *macie2.BatchGetCustomDataIdentifiersOutput) + CreateAllowList(*macie2.CreateAllowListInput) (*macie2.CreateAllowListOutput, error) + CreateAllowListWithContext(aws.Context, *macie2.CreateAllowListInput, ...request.Option) (*macie2.CreateAllowListOutput, error) + CreateAllowListRequest(*macie2.CreateAllowListInput) (*request.Request, *macie2.CreateAllowListOutput) + CreateClassificationJob(*macie2.CreateClassificationJobInput) (*macie2.CreateClassificationJobOutput, error) CreateClassificationJobWithContext(aws.Context, *macie2.CreateClassificationJobInput, ...request.Option) (*macie2.CreateClassificationJobOutput, error) CreateClassificationJobRequest(*macie2.CreateClassificationJobInput) (*request.Request, *macie2.CreateClassificationJobOutput) @@ -96,6 +100,10 @@ type Macie2API interface { DeclineInvitationsWithContext(aws.Context, *macie2.DeclineInvitationsInput, ...request.Option) (*macie2.DeclineInvitationsOutput, error) DeclineInvitationsRequest(*macie2.DeclineInvitationsInput) (*request.Request, *macie2.DeclineInvitationsOutput) + DeleteAllowList(*macie2.DeleteAllowListInput) (*macie2.DeleteAllowListOutput, error) + DeleteAllowListWithContext(aws.Context, *macie2.DeleteAllowListInput, ...request.Option) (*macie2.DeleteAllowListOutput, error) + DeleteAllowListRequest(*macie2.DeleteAllowListInput) (*request.Request, *macie2.DeleteAllowListOutput) + DeleteCustomDataIdentifier(*macie2.DeleteCustomDataIdentifierInput) (*macie2.DeleteCustomDataIdentifierOutput, error) DeleteCustomDataIdentifierWithContext(aws.Context, *macie2.DeleteCustomDataIdentifierInput, ...request.Option) (*macie2.DeleteCustomDataIdentifierOutput, error) DeleteCustomDataIdentifierRequest(*macie2.DeleteCustomDataIdentifierInput) (*request.Request, *macie2.DeleteCustomDataIdentifierOutput) @@ -159,6 +167,10 @@ type Macie2API interface { GetAdministratorAccountWithContext(aws.Context, *macie2.GetAdministratorAccountInput, ...request.Option) (*macie2.GetAdministratorAccountOutput, error) GetAdministratorAccountRequest(*macie2.GetAdministratorAccountInput) (*request.Request, *macie2.GetAdministratorAccountOutput) + GetAllowList(*macie2.GetAllowListInput) (*macie2.GetAllowListOutput, error) + GetAllowListWithContext(aws.Context, *macie2.GetAllowListInput, ...request.Option) (*macie2.GetAllowListOutput, error) + GetAllowListRequest(*macie2.GetAllowListInput) (*request.Request, *macie2.GetAllowListOutput) + GetBucketStatistics(*macie2.GetBucketStatisticsInput) (*macie2.GetBucketStatisticsOutput, error) GetBucketStatisticsWithContext(aws.Context, *macie2.GetBucketStatisticsInput, ...request.Option) (*macie2.GetBucketStatisticsOutput, error) GetBucketStatisticsRequest(*macie2.GetBucketStatisticsInput) (*request.Request, *macie2.GetBucketStatisticsOutput) @@ -226,6 +238,10 @@ type Macie2API interface { GetUsageTotalsWithContext(aws.Context, *macie2.GetUsageTotalsInput, ...request.Option) (*macie2.GetUsageTotalsOutput, error) GetUsageTotalsRequest(*macie2.GetUsageTotalsInput) (*request.Request, *macie2.GetUsageTotalsOutput) + ListAllowLists(*macie2.ListAllowListsInput) (*macie2.ListAllowListsOutput, error) + ListAllowListsWithContext(aws.Context, *macie2.ListAllowListsInput, ...request.Option) (*macie2.ListAllowListsOutput, error) + ListAllowListsRequest(*macie2.ListAllowListsInput) (*request.Request, *macie2.ListAllowListsOutput) + ListClassificationJobs(*macie2.ListClassificationJobsInput) (*macie2.ListClassificationJobsOutput, error) ListClassificationJobsWithContext(aws.Context, *macie2.ListClassificationJobsInput, ...request.Option) (*macie2.ListClassificationJobsOutput, error) ListClassificationJobsRequest(*macie2.ListClassificationJobsInput) (*request.Request, *macie2.ListClassificationJobsOutput) @@ -310,6 +326,10 @@ type Macie2API interface { UntagResourceWithContext(aws.Context, *macie2.UntagResourceInput, ...request.Option) (*macie2.UntagResourceOutput, error) UntagResourceRequest(*macie2.UntagResourceInput) (*request.Request, *macie2.UntagResourceOutput) + UpdateAllowList(*macie2.UpdateAllowListInput) (*macie2.UpdateAllowListOutput, error) + UpdateAllowListWithContext(aws.Context, *macie2.UpdateAllowListInput, ...request.Option) (*macie2.UpdateAllowListOutput, error) + UpdateAllowListRequest(*macie2.UpdateAllowListInput) (*request.Request, *macie2.UpdateAllowListOutput) + UpdateClassificationJob(*macie2.UpdateClassificationJobInput) (*macie2.UpdateClassificationJobOutput, error) UpdateClassificationJobWithContext(aws.Context, *macie2.UpdateClassificationJobInput, ...request.Option) (*macie2.UpdateClassificationJobOutput, error) UpdateClassificationJobRequest(*macie2.UpdateClassificationJobInput) (*request.Request, *macie2.UpdateClassificationJobOutput) diff --git a/service/sso/api.go b/service/sso/api.go index bdb8c2f7ef..b8f590f71d 100644 --- a/service/sso/api.go +++ b/service/sso/api.go @@ -156,8 +156,7 @@ func (c *SSO) ListAccountRolesRequest(input *ListAccountRolesInput) (req *reques // ListAccountRoles API operation for AWS Single Sign-On. // -// Lists all roles that are assigned to the user for a given Amazon Web Services -// account. +// Lists all roles that are assigned to the user for a given AWS account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -306,10 +305,10 @@ func (c *SSO) ListAccountsRequest(input *ListAccountsInput) (req *request.Reques // ListAccounts API operation for AWS Single Sign-On. // -// Lists all Amazon Web Services accounts assigned to the user. These Amazon -// Web Services accounts are assigned by the administrator of the account. For -// more information, see Assign User Access (https://docs.aws.amazon.com/singlesignon/latest/userguide/useraccess.html#assignusers) -// in the Amazon Web Services SSO User Guide. This operation returns a paginated +// Lists all AWS accounts assigned to the user. These AWS accounts are assigned +// by the administrator of the account. For more information, see Assign User +// Access (https://docs.aws.amazon.com/singlesignon/latest/userguide/useraccess.html#assignusers) +// in the IAM Identity Center User Guide. This operation returns a paginated // response. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -455,20 +454,20 @@ func (c *SSO) LogoutRequest(input *LogoutInput) (req *request.Request, output *L // Logout API operation for AWS Single Sign-On. // // Removes the locally stored SSO tokens from the client-side cache and sends -// an API call to the Amazon Web Services SSO service to invalidate the corresponding -// server-side Amazon Web Services SSO sign in session. +// an API call to the IAM Identity Center service to invalidate the corresponding +// server-side IAM Identity Center sign in session. // -// If a user uses Amazon Web Services SSO to access the AWS CLI, the user’s -// Amazon Web Services SSO sign in session is used to obtain an IAM session, -// as specified in the corresponding Amazon Web Services SSO permission set. -// More specifically, Amazon Web Services SSO assumes an IAM role in the target -// account on behalf of the user, and the corresponding temporary Amazon Web -// Services credentials are returned to the client. +// If a user uses IAM Identity Center to access the AWS CLI, the user’s IAM +// Identity Center sign in session is used to obtain an IAM session, as specified +// in the corresponding IAM Identity Center permission set. More specifically, +// IAM Identity Center assumes an IAM role in the target account on behalf of +// the user, and the corresponding temporary AWS credentials are returned to +// the client. // // After user logout, any existing IAM role sessions that were created by using -// Amazon Web Services SSO permission sets continue based on the duration configured +// IAM Identity Center permission sets continue based on the duration configured // in the permission set. For more information, see User authentications (https://docs.aws.amazon.com/singlesignon/latest/userguide/authconcept.html) -// in the Amazon Web Services SSO User Guide. +// in the IAM Identity Center User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -513,20 +512,17 @@ func (c *SSO) LogoutWithContext(ctx aws.Context, input *LogoutInput, opts ...req return out, req.Send() } -// Provides information about your Amazon Web Services account. +// Provides information about your AWS account. type AccountInfo struct { _ struct{} `type:"structure"` - // The identifier of the Amazon Web Services account that is assigned to the - // user. + // The identifier of the AWS account that is assigned to the user. AccountId *string `locationName:"accountId" type:"string"` - // The display name of the Amazon Web Services account that is assigned to the - // user. + // The display name of the AWS account that is assigned to the user. AccountName *string `locationName:"accountName" type:"string"` - // The email address of the Amazon Web Services account that is assigned to - // the user. + // The email address of the AWS account that is assigned to the user. EmailAddress *string `locationName:"emailAddress" min:"1" type:"string"` } @@ -571,7 +567,7 @@ type GetRoleCredentialsInput struct { // The token issued by the CreateToken API call. For more information, see CreateToken // (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html) - // in the Amazon Web Services SSO OIDC API Reference Guide. + // in the IAM Identity Center OIDC API Reference Guide. // // AccessToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetRoleCredentialsInput's @@ -580,8 +576,7 @@ type GetRoleCredentialsInput struct { // AccessToken is a required field AccessToken *string `location:"header" locationName:"x-amz-sso_bearer_token" type:"string" required:"true" sensitive:"true"` - // The identifier for the Amazon Web Services account that is assigned to the - // user. + // The identifier for the AWS account that is assigned to the user. // // AccountId is a required field AccountId *string `location:"querystring" locationName:"account_id" type:"string" required:"true"` @@ -748,7 +743,7 @@ type ListAccountRolesInput struct { // The token issued by the CreateToken API call. For more information, see CreateToken // (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html) - // in the Amazon Web Services SSO OIDC API Reference Guide. + // in the IAM Identity Center OIDC API Reference Guide. // // AccessToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ListAccountRolesInput's @@ -757,8 +752,7 @@ type ListAccountRolesInput struct { // AccessToken is a required field AccessToken *string `location:"header" locationName:"x-amz-sso_bearer_token" type:"string" required:"true" sensitive:"true"` - // The identifier for the Amazon Web Services account that is assigned to the - // user. + // The identifier for the AWS account that is assigned to the user. // // AccountId is a required field AccountId *string `location:"querystring" locationName:"account_id" type:"string" required:"true"` @@ -878,7 +872,7 @@ type ListAccountsInput struct { // The token issued by the CreateToken API call. For more information, see CreateToken // (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html) - // in the Amazon Web Services SSO OIDC API Reference Guide. + // in the IAM Identity Center OIDC API Reference Guide. // // AccessToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ListAccountsInput's @@ -993,7 +987,7 @@ type LogoutInput struct { // The token issued by the CreateToken API call. For more information, see CreateToken // (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html) - // in the Amazon Web Services SSO OIDC API Reference Guide. + // in the IAM Identity Center OIDC API Reference Guide. // // AccessToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by LogoutInput's @@ -1132,18 +1126,17 @@ type RoleCredentials struct { _ struct{} `type:"structure"` // The identifier used for the temporary security credentials. For more information, - // see Using Temporary Security Credentials to Request Access to Amazon Web - // Services Resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) - // in the Amazon Web Services IAM User Guide. + // see Using Temporary Security Credentials to Request Access to AWS Resources + // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) + // in the AWS IAM User Guide. AccessKeyId *string `locationName:"accessKeyId" type:"string"` // The date on which temporary security credentials expire. Expiration *int64 `locationName:"expiration" type:"long"` // The key that is used to sign the request. For more information, see Using - // Temporary Security Credentials to Request Access to Amazon Web Services Resources - // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) - // in the Amazon Web Services IAM User Guide. + // Temporary Security Credentials to Request Access to AWS Resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) + // in the AWS IAM User Guide. // // SecretAccessKey is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RoleCredentials's @@ -1151,9 +1144,8 @@ type RoleCredentials struct { SecretAccessKey *string `locationName:"secretAccessKey" type:"string" sensitive:"true"` // The token used for temporary credentials. For more information, see Using - // Temporary Security Credentials to Request Access to Amazon Web Services Resources - // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) - // in the Amazon Web Services IAM User Guide. + // Temporary Security Credentials to Request Access to AWS Resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) + // in the AWS IAM User Guide. // // SessionToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RoleCredentials's @@ -1207,7 +1199,7 @@ func (s *RoleCredentials) SetSessionToken(v string) *RoleCredentials { type RoleInfo struct { _ struct{} `type:"structure"` - // The identifier of the Amazon Web Services account assigned to the user. + // The identifier of the AWS account assigned to the user. AccountId *string `locationName:"accountId" type:"string"` // The friendly name of the role that is assigned to the user. diff --git a/service/sso/doc.go b/service/sso/doc.go index ebcc9b4051..15e61a3228 100644 --- a/service/sso/doc.go +++ b/service/sso/doc.go @@ -3,25 +3,24 @@ // Package sso provides the client and types for making API // requests to AWS Single Sign-On. // -// Amazon Web Services Single Sign On Portal is a web service that makes it -// easy for you to assign user access to Amazon Web Services SSO resources such -// as the AWS access portal. Users can get Amazon Web Services account applications -// and roles assigned to them and get federated into the application. +// AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web +// service that makes it easy for you to assign user access to IAM Identity +// Center resources such as the AWS access portal. Users can get AWS account +// applications and roles assigned to them and get federated into the application. // -// Although Amazon Web Services Single Sign-On was renamed, the sso and identitystore -// API namespaces will continue to retain their original name for backward compatibility -// purposes. For more information, see Amazon Web Services SSO rename (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed). +// Although AWS Single Sign-On was renamed, the sso and identitystore API namespaces +// will continue to retain their original name for backward compatibility purposes. +// For more information, see IAM Identity Center rename (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed). // -// This reference guide describes the Amazon Web Services SSO Portal operations +// This reference guide describes the IAM Identity Center Portal operations // that you can call programatically and includes detailed information on data // types and errors. // -// Amazon Web Services provides SDKs that consist of libraries and sample code -// for various programming languages and platforms, such as Java, Ruby, .Net, -// iOS, or Android. The SDKs provide a convenient way to create programmatic -// access to Amazon Web Services SSO and other Amazon Web Services services. -// For more information about the Amazon Web Services SDKs, including how to -// download and install them, see Tools for Amazon Web Services (http://aws.amazon.com/tools/). +// AWS provides SDKs that consist of libraries and sample code for various programming +// languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs +// provide a convenient way to create programmatic access to IAM Identity Center +// and other AWS services. For more information about the AWS SDKs, including +// how to download and install them, see Tools for Amazon Web Services (http://aws.amazon.com/tools/). // // See https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10 for more information on this service. // diff --git a/service/ssoadmin/api.go b/service/ssoadmin/api.go index 82a134b340..d2a68c18f0 100644 --- a/service/ssoadmin/api.go +++ b/service/ssoadmin/api.go @@ -161,7 +161,7 @@ func (c *SSOAdmin) AttachManagedPolicyToPermissionSetRequest(input *AttachManage // AttachManagedPolicyToPermissionSet API operation for AWS Single Sign-On Admin. // -// Attaches an Amazon Web Services managed policy ARN to a permission set. +// Attaches an AWS managed policy ARN to a permission set. // // If the permission set is already referenced by one or more account assignments, // you will need to call ProvisionPermissionSet after this operation. Calling @@ -269,18 +269,18 @@ func (c *SSOAdmin) CreateAccountAssignmentRequest(input *CreateAccountAssignment // CreateAccountAssignment API operation for AWS Single Sign-On Admin. // -// Assigns access to a principal for a specified Amazon Web Services account -// using a specified permission set. +// Assigns access to a principal for a specified AWS account using a specified +// permission set. // -// The term principal here refers to a user or group that is defined in Amazon -// Web Services SSO. +// The term principal here refers to a user or group that is defined in IAM +// Identity Center. // // As part of a successful CreateAccountAssignment call, the specified permission // set will automatically be provisioned to the account in the form of an IAM -// policy. That policy is attached to the IAM role created in Amazon Web Services -// SSO. If the permission set is subsequently updated, the corresponding IAM -// policies attached to roles in your accounts will not be updated automatically. -// In this case, you must call ProvisionPermissionSet to make these updates. +// policy. That policy is attached to the IAM role created in IAM Identity Center. +// If the permission set is subsequently updated, the corresponding IAM policies +// attached to roles in your accounts will not be updated automatically. In +// this case, you must call ProvisionPermissionSet to make these updates. // // After a successful response, call DescribeAccountAssignmentCreationStatus // to describe the status of an assignment creation request. @@ -388,10 +388,10 @@ func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfigurationRequest(inpu // CreateInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin. // // Enables the attributes-based access control (ABAC) feature for the specified -// Amazon Web Services SSO instance. You can also specify new attributes to -// add to your ABAC configuration during the enabling process. For more information +// IAM Identity Center instance. You can also specify new attributes to add +// to your ABAC configuration during the enabling process. For more information // about ABAC, see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html) -// in the Amazon Web Services SSO User Guide. +// in the IAM Identity Center User Guide. // // After a successful response, call DescribeInstanceAccessControlAttributeConfiguration // to validate that InstanceAccessControlAttributeConfiguration was created. @@ -493,10 +493,9 @@ func (c *SSOAdmin) CreatePermissionSetRequest(input *CreatePermissionSetInput) ( // CreatePermissionSet API operation for AWS Single Sign-On Admin. // -// Creates a permission set within a specified Amazon Web Services SSO instance. +// Creates a permission set within a specified IAM Identity Center instance. // -// To grant users and groups access to Amazon Web Services account resources, -// use CreateAccountAssignment . +// To grant users and groups access to AWS account resources, use CreateAccountAssignment . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -599,8 +598,8 @@ func (c *SSOAdmin) DeleteAccountAssignmentRequest(input *DeleteAccountAssignment // DeleteAccountAssignment API operation for AWS Single Sign-On Admin. // -// Deletes a principal's access from a specified Amazon Web Services account -// using a specified permission set. +// Deletes a principal's access from a specified AWS account using a specified +// permission set. // // After a successful response, call DescribeAccountAssignmentCreationStatus // to describe the status of an assignment deletion request. @@ -804,12 +803,12 @@ func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfigurationRequest(inpu // DeleteInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin. // // Disables the attributes-based access control (ABAC) feature for the specified -// Amazon Web Services SSO instance and deletes all of the attribute mappings -// that have been configured. Once deleted, any attributes that are received -// from an identity source and any custom attributes you have previously configured +// IAM Identity Center instance and deletes all of the attribute mappings that +// have been configured. Once deleted, any attributes that are received from +// an identity source and any custom attributes you have previously configured // will not be passed. For more information about ABAC, see Attribute-Based -// Access Control (/singlesignon/latest/userguide/abac.html) in the Amazon Web -// Services SSO User Guide. +// Access Control (/singlesignon/latest/userguide/abac.html) in the IAM Identity +// Center User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1288,12 +1287,12 @@ func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfigurationRequest(in // DescribeInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin. // -// Returns the list of Amazon Web Services SSO identity store attributes that -// have been configured to work with attributes-based access control (ABAC) -// for the specified Amazon Web Services SSO instance. This will not return -// attributes configured and sent by an external identity provider. For more -// information about ABAC, see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html) -// in the Amazon Web Services SSO User Guide. +// Returns the list of IAM Identity Center identity store attributes that have +// been configured to work with attributes-based access control (ABAC) for the +// specified IAM Identity Center instance. This will not return attributes configured +// and sent by an external identity provider. For more information about ABAC, +// see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html) +// in the IAM Identity Center User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1673,8 +1672,8 @@ func (c *SSOAdmin) DetachManagedPolicyFromPermissionSetRequest(input *DetachMana // DetachManagedPolicyFromPermissionSet API operation for AWS Single Sign-On Admin. // -// Detaches the attached Amazon Web Services managed policy ARN from the specified -// permission set. +// Detaches the attached AWS managed policy ARN from the specified permission +// set. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1965,8 +1964,8 @@ func (c *SSOAdmin) ListAccountAssignmentCreationStatusRequest(input *ListAccount // ListAccountAssignmentCreationStatus API operation for AWS Single Sign-On Admin. // -// Lists the status of the Amazon Web Services account assignment creation requests -// for a specified Amazon Web Services SSO instance. +// Lists the status of the AWS account assignment creation requests for a specified +// IAM Identity Center instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2116,8 +2115,8 @@ func (c *SSOAdmin) ListAccountAssignmentDeletionStatusRequest(input *ListAccount // ListAccountAssignmentDeletionStatus API operation for AWS Single Sign-On Admin. // -// Lists the status of the Amazon Web Services account assignment deletion requests -// for a specified Amazon Web Services SSO instance. +// Lists the status of the AWS account assignment deletion requests for a specified +// IAM Identity Center instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2267,8 +2266,8 @@ func (c *SSOAdmin) ListAccountAssignmentsRequest(input *ListAccountAssignmentsIn // ListAccountAssignments API operation for AWS Single Sign-On Admin. // -// Lists the assignee of the specified Amazon Web Services account with the -// specified permission set. +// Lists the assignee of the specified AWS account with the specified permission +// set. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2418,8 +2417,7 @@ func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetRequest(input *ListAcc // ListAccountsForProvisionedPermissionSet API operation for AWS Single Sign-On Admin. // -// Lists all the Amazon Web Services accounts where the specified permission -// set is provisioned. +// Lists all the AWS accounts where the specified permission set is provisioned. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2719,7 +2717,7 @@ func (c *SSOAdmin) ListInstancesRequest(input *ListInstancesInput) (req *request // ListInstances API operation for AWS Single Sign-On Admin. // -// Lists the Amazon Web Services SSO instances that the caller has access to. +// Lists the IAM Identity Center instances that the caller has access to. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2866,8 +2864,7 @@ func (c *SSOAdmin) ListManagedPoliciesInPermissionSetRequest(input *ListManagedP // ListManagedPoliciesInPermissionSet API operation for AWS Single Sign-On Admin. // -// Lists the Amazon Web Services managed policy that is attached to a specified -// permission set. +// Lists the AWS managed policy that is attached to a specified permission set. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3018,7 +3015,7 @@ func (c *SSOAdmin) ListPermissionSetProvisioningStatusRequest(input *ListPermiss // ListPermissionSetProvisioningStatus API operation for AWS Single Sign-On Admin. // // Lists the status of the permission set provisioning requests for a specified -// Amazon Web Services SSO instance. +// IAM Identity Center instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3168,7 +3165,7 @@ func (c *SSOAdmin) ListPermissionSetsRequest(input *ListPermissionSetsInput) (re // ListPermissionSets API operation for AWS Single Sign-On Admin. // -// Lists the PermissionSets in an Amazon Web Services SSO instance. +// Lists the PermissionSets in an IAM Identity Center instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3318,8 +3315,7 @@ func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountRequest(input *ListPerm // ListPermissionSetsProvisionedToAccount API operation for AWS Single Sign-On Admin. // -// Lists all the permission sets that are provisioned to a specified Amazon -// Web Services account. +// Lists all the permission sets that are provisioned to a specified AWS account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3822,8 +3818,8 @@ func (c *SSOAdmin) PutPermissionsBoundaryToPermissionSetRequest(input *PutPermis // PutPermissionsBoundaryToPermissionSet API operation for AWS Single Sign-On Admin. // -// Attaches an Amazon Web Services managed or customer managed policy to the -// specified PermissionSet as a permissions boundary. +// Attaches an AWS managed or customer managed policy to the specified PermissionSet +// as a permissions boundary. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4127,15 +4123,15 @@ func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfigurationRequest(inpu // UpdateInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin. // -// Updates the Amazon Web Services SSO identity store attributes that you can -// use with the Amazon Web Services SSO instance for attributes-based access -// control (ABAC). When using an external identity provider as an identity source, -// you can pass attributes through the SAML assertion as an alternative to configuring -// attributes from the Amazon Web Services SSO identity store. If a SAML assertion -// passes any of these attributes, Amazon Web Services SSO replaces the attribute -// value with the value from the Amazon Web Services SSO identity store. For -// more information about ABAC, see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html) -// in the Amazon Web Services SSO User Guide. +// Updates the IAM Identity Center identity store attributes that you can use +// with the IAM Identity Center instance for attributes-based access control +// (ABAC). When using an external identity provider as an identity source, you +// can pass attributes through the SAML assertion as an alternative to configuring +// attributes from the IAM Identity Center identity store. If a SAML assertion +// passes any of these attributes, IAM Identity Center replaces the attribute +// value with the value from the IAM Identity Center identity store. For more +// information about ABAC, see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html) +// in the IAM Identity Center User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4291,18 +4287,18 @@ func (c *SSOAdmin) UpdatePermissionSetWithContext(ctx aws.Context, input *Update return out, req.Send() } -// These are Amazon Web Services SSO identity store attributes that you can -// configure for use in attributes-based access control (ABAC). You can create -// permissions policies that determine who can access your Amazon Web Services -// resources based upon the configured attribute values. When you enable ABAC -// and specify AccessControlAttributes, Amazon Web Services SSO passes the attribute -// values of the authenticated user into IAM for use in policy evaluation. +// These are IAM Identity Center identity store attributes that you can configure +// for use in attributes-based access control (ABAC). You can create permissions +// policies that determine who can access your AWS resources based upon the +// configured attribute values. When you enable ABAC and specify AccessControlAttributes, +// IAM Identity Center passes the attribute values of the authenticated user +// into IAM for use in policy evaluation. type AccessControlAttribute struct { _ struct{} `type:"structure"` // The name of the attribute associated with your identities in your identity // source. This is used to map a specified attribute in your identity source - // with an attribute in Amazon Web Services SSO. + // with an attribute in IAM Identity Center. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` @@ -4369,12 +4365,12 @@ func (s *AccessControlAttribute) SetValue(v *AccessControlAttributeValue) *Acces // The value used for mapping a specified attribute to an identity source. For // more information, see Attribute mappings (https://docs.aws.amazon.com/singlesignon/latest/userguide/attributemappingsconcept.html) -// in the Amazon Web Services SSO User Guide. +// in the IAM Identity Center User Guide. type AccessControlAttributeValue struct { _ struct{} `type:"structure"` - // The identity source to use when mapping a specified attribute to Amazon Web - // Services SSO. + // The identity source to use when mapping a specified attribute to IAM Identity + // Center. // // Source is a required field Source []*string `min:"1" type:"list" required:"true"` @@ -4485,25 +4481,25 @@ func (s *AccessDeniedException) RequestID() string { } // The assignment that indicates a principal's limited access to a specified -// Amazon Web Services account with a specified permission set. +// AWS account with a specified permission set. // -// The term principal here refers to a user or group that is defined in Amazon -// Web Services SSO. +// The term principal here refers to a user or group that is defined in IAM +// Identity Center. type AccountAssignment struct { _ struct{} `type:"structure"` - // The identifier of the Amazon Web Services account. + // The identifier of the AWS account. AccountId *string `min:"12" type:"string"` // The ARN of the permission set. For more information about ARNs, see Amazon - // Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // Resource Names (ARNs) and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. PermissionSetArn *string `min:"10" type:"string"` - // An identifier for an object in Amazon Web Services SSO, such as a user or - // group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). - // For more information about PrincipalIds in Amazon Web Services SSO, see the - // Amazon Web Services SSO Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). + // An identifier for an object in IAM Identity Center, such as a user or group. + // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). + // For more information about PrincipalIds in IAM Identity Center, see the IAM + // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). PrincipalId *string `min:"1" type:"string"` // The entity type for which the assignment will be created. @@ -4564,14 +4560,14 @@ type AccountAssignmentOperationStatus struct { FailureReason *string `type:"string"` // The ARN of the permission set. For more information about ARNs, see Amazon - // Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // Resource Names (ARNs) and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. PermissionSetArn *string `min:"10" type:"string"` - // An identifier for an object in Amazon Web Services SSO, such as a user or - // group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). - // For more information about PrincipalIds in Amazon Web Services SSO, see the - // Amazon Web Services SSO Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). + // An identifier for an object in IAM Identity Center, such as a user or group. + // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). + // For more information about PrincipalIds in IAM Identity Center, see the IAM + // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). PrincipalId *string `min:"1" type:"string"` // The entity type for which the assignment will be created. @@ -4584,8 +4580,8 @@ type AccountAssignmentOperationStatus struct { // The status of the permission set provisioning process. Status *string `type:"string" enum:"StatusValues"` - // TargetID is an Amazon Web Services account identifier, typically a 10-12 - // digit string (For example, 123456789012). + // TargetID is an AWS account identifier, typically a 10-12 digit string (For + // example, 123456789012). TargetId *string `min:"12" type:"string"` // The entity type for which the assignment will be created. @@ -4719,14 +4715,14 @@ type AttachCustomerManagedPolicyReferenceToPermissionSetInput struct { _ struct{} `type:"structure"` // Specifies the name and path of a customer managed policy. You must have an - // IAM policy that matches the name and path in each Amazon Web Services account - // where you want to deploy your permission set. + // IAM policy that matches the name and path in each AWS account where you want + // to deploy your permission set. // // CustomerManagedPolicyReference is a required field CustomerManagedPolicyReference *CustomerManagedPolicyReference `type:"structure" required:"true"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -4828,16 +4824,15 @@ func (s AttachCustomerManagedPolicyReferenceToPermissionSetOutput) GoString() st type AttachManagedPolicyToPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` - // The Amazon Web Services managed policy ARN to be attached to a permission - // set. + // The AWS managed policy ARN to be attached to a permission set. // // ManagedPolicyArn is a required field ManagedPolicyArn *string `min:"20" type:"string" required:"true"` @@ -4934,17 +4929,16 @@ func (s AttachManagedPolicyToPermissionSetOutput) GoString() string { return s.String() } -// A structure that stores the details of the Amazon Web Services managed policy. +// A structure that stores the details of the AWS managed policy. type AttachedManagedPolicy struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services managed policy. For more information about - // ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces - // (/general/latest/gr/aws-arns-and-namespaces.html) in the Amazon Web Services - // General Reference. + // The ARN of the AWS managed policy. For more information about ARNs, see Amazon + // Resource Names (ARNs) and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. Arn *string `min:"20" type:"string"` - // The name of the Amazon Web Services managed policy. + // The name of the AWS managed policy. Name *string `min:"1" type:"string"` } @@ -5048,10 +5042,10 @@ func (s *ConflictException) RequestID() string { type CreateAccountAssignmentInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -5062,10 +5056,10 @@ type CreateAccountAssignmentInput struct { // PermissionSetArn is a required field PermissionSetArn *string `min:"10" type:"string" required:"true"` - // An identifier for an object in Amazon Web Services SSO, such as a user or - // group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). - // For more information about PrincipalIds in Amazon Web Services SSO, see the - // Amazon Web Services SSO Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). + // An identifier for an object in IAM Identity Center, such as a user or group. + // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). + // For more information about PrincipalIds in IAM Identity Center, see the IAM + // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). // // PrincipalId is a required field PrincipalId *string `min:"1" type:"string" required:"true"` @@ -5075,8 +5069,8 @@ type CreateAccountAssignmentInput struct { // PrincipalType is a required field PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"` - // TargetID is an Amazon Web Services account identifier, typically a 10-12 - // digit string (For example, 123456789012). + // TargetID is an AWS account identifier, typically a 10-12 digit string (For + // example, 123456789012). // // TargetId is a required field TargetId *string `min:"12" type:"string" required:"true"` @@ -5215,19 +5209,19 @@ func (s *CreateAccountAssignmentOutput) SetAccountAssignmentCreationStatus(v *Ac type CreateInstanceAccessControlAttributeConfigurationInput struct { _ struct{} `type:"structure"` - // Specifies the Amazon Web Services SSO identity store attributes to add to - // your ABAC configuration. When using an external identity provider as an identity + // Specifies the IAM Identity Center identity store attributes to add to your + // ABAC configuration. When using an external identity provider as an identity // source, you can pass attributes through the SAML assertion. Doing so provides - // an alternative to configuring attributes from the Amazon Web Services SSO - // identity store. If a SAML assertion passes any of these attributes, Amazon - // Web Services SSO will replace the attribute value with the value from the - // Amazon Web Services SSO identity store. + // an alternative to configuring attributes from the IAM Identity Center identity + // store. If a SAML assertion passes any of these attributes, IAM Identity Center + // will replace the attribute value with the value from the IAM Identity Center + // identity store. // // InstanceAccessControlAttributeConfiguration is a required field InstanceAccessControlAttributeConfiguration *InstanceAccessControlAttributeConfiguration `type:"structure" required:"true"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -5315,10 +5309,10 @@ type CreatePermissionSetInput struct { // The description of the PermissionSet. Description *string `min:"1" type:"string"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -5438,7 +5432,7 @@ func (s *CreatePermissionSetInput) SetTags(v []*Tag) *CreatePermissionSetInput { type CreatePermissionSetOutput struct { _ struct{} `type:"structure"` - // Defines the level of access on an Amazon Web Services account. + // Defines the level of access on an AWS account. PermissionSet *PermissionSet `type:"structure"` } @@ -5467,8 +5461,8 @@ func (s *CreatePermissionSetOutput) SetPermissionSet(v *PermissionSet) *CreatePe } // Specifies the name and path of a customer managed policy. You must have an -// IAM policy that matches the name and path in each Amazon Web Services account -// where you want to deploy your permission set. +// IAM policy that matches the name and path in each AWS account where you want +// to deploy your permission set. type CustomerManagedPolicyReference struct { _ struct{} `type:"structure"` @@ -5481,7 +5475,7 @@ type CustomerManagedPolicyReference struct { // The path to the IAM policy that you have configured in each account where // you want to deploy your permission set. The default is /. For more information, // see Friendly names and paths (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) - // in the Identity and Access Management User Guide. + // in the IAM User Guide. Path *string `min:"1" type:"string"` } @@ -5537,10 +5531,10 @@ func (s *CustomerManagedPolicyReference) SetPath(v string) *CustomerManagedPolic type DeleteAccountAssignmentInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -5550,10 +5544,10 @@ type DeleteAccountAssignmentInput struct { // PermissionSetArn is a required field PermissionSetArn *string `min:"10" type:"string" required:"true"` - // An identifier for an object in Amazon Web Services SSO, such as a user or - // group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). - // For more information about PrincipalIds in Amazon Web Services SSO, see the - // Amazon Web Services SSO Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). + // An identifier for an object in IAM Identity Center, such as a user or group. + // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). + // For more information about PrincipalIds in IAM Identity Center, see the IAM + // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html). // // PrincipalId is a required field PrincipalId *string `min:"1" type:"string" required:"true"` @@ -5563,8 +5557,8 @@ type DeleteAccountAssignmentInput struct { // PrincipalType is a required field PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"` - // TargetID is an Amazon Web Services account identifier, typically a 10-12 - // digit string (For example, 123456789012). + // TargetID is an AWS account identifier, typically a 10-12 digit string (For + // example, 123456789012). // // TargetId is a required field TargetId *string `min:"12" type:"string" required:"true"` @@ -5703,10 +5697,10 @@ func (s *DeleteAccountAssignmentOutput) SetAccountAssignmentDeletionStatus(v *Ac type DeleteInlinePolicyFromPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -5794,8 +5788,8 @@ func (s DeleteInlinePolicyFromPermissionSetOutput) GoString() string { type DeleteInstanceAccessControlAttributeConfigurationInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -5866,10 +5860,10 @@ func (s DeleteInstanceAccessControlAttributeConfigurationOutput) GoString() stri type DeletePermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -5957,8 +5951,8 @@ func (s DeletePermissionSetOutput) GoString() string { type DeletePermissionsBoundaryFromPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -6051,10 +6045,10 @@ type DescribeAccountAssignmentCreationStatusInput struct { // AccountAssignmentCreationRequestId is a required field AccountAssignmentCreationRequestId *string `min:"36" type:"string" required:"true"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -6151,10 +6145,10 @@ type DescribeAccountAssignmentDeletionStatusInput struct { // AccountAssignmentDeletionRequestId is a required field AccountAssignmentDeletionRequestId *string `min:"36" type:"string" required:"true"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -6246,8 +6240,8 @@ func (s *DescribeAccountAssignmentDeletionStatusOutput) SetAccountAssignmentDele type DescribeInstanceAccessControlAttributeConfigurationInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -6296,7 +6290,7 @@ func (s *DescribeInstanceAccessControlAttributeConfigurationInput) SetInstanceAr type DescribeInstanceAccessControlAttributeConfigurationOutput struct { _ struct{} `type:"structure"` - // Gets the list of Amazon Web Services SSO identity store attributes that have + // Gets the list of IAM Identity Center identity store attributes that have // been added to your ABAC configuration. InstanceAccessControlAttributeConfiguration *InstanceAccessControlAttributeConfiguration `type:"structure"` @@ -6346,10 +6340,10 @@ func (s *DescribeInstanceAccessControlAttributeConfigurationOutput) SetStatusRea type DescribePermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -6415,7 +6409,7 @@ func (s *DescribePermissionSetInput) SetPermissionSetArn(v string) *DescribePerm type DescribePermissionSetOutput struct { _ struct{} `type:"structure"` - // Describes the level of access on an Amazon Web Services account. + // Describes the level of access on an AWS account. PermissionSet *PermissionSet `type:"structure"` } @@ -6446,10 +6440,10 @@ func (s *DescribePermissionSetOutput) SetPermissionSet(v *PermissionSet) *Descri type DescribePermissionSetProvisioningStatusInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -6548,14 +6542,14 @@ type DetachCustomerManagedPolicyReferenceFromPermissionSetInput struct { _ struct{} `type:"structure"` // Specifies the name and path of a customer managed policy. You must have an - // IAM policy that matches the name and path in each Amazon Web Services account - // where you want to deploy your permission set. + // IAM policy that matches the name and path in each AWS account where you want + // to deploy your permission set. // // CustomerManagedPolicyReference is a required field CustomerManagedPolicyReference *CustomerManagedPolicyReference `type:"structure" required:"true"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -6657,16 +6651,15 @@ func (s DetachCustomerManagedPolicyReferenceFromPermissionSetOutput) GoString() type DetachManagedPolicyFromPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` - // The Amazon Web Services managed policy ARN to be detached from a permission - // set. + // The AWS managed policy ARN to be detached from a permission set. // // ManagedPolicyArn is a required field ManagedPolicyArn *string `min:"20" type:"string" required:"true"` @@ -6766,10 +6759,10 @@ func (s DetachManagedPolicyFromPermissionSetOutput) GoString() string { type GetInlinePolicyForPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -6866,8 +6859,8 @@ func (s *GetInlinePolicyForPermissionSetOutput) SetInlinePolicy(v string) *GetIn type GetPermissionsBoundaryForPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -6966,8 +6959,8 @@ func (s *GetPermissionsBoundaryForPermissionSetOutput) SetPermissionsBoundary(v type InstanceAccessControlAttributeConfiguration struct { _ struct{} `type:"structure"` - // Lists the attributes that are configured for ABAC in the specified Amazon - // Web Services SSO instance. + // Lists the attributes that are configured for ABAC in the specified IAM Identity + // Center instance. // // AccessControlAttributes is a required field AccessControlAttributes []*AccessControlAttribute `type:"list" required:"true"` @@ -7020,18 +7013,18 @@ func (s *InstanceAccessControlAttributeConfiguration) SetAccessControlAttributes return s } -// Provides information about the Amazon Web Services SSO instance. +// Provides information about the IAM Identity Center instance. type InstanceMetadata struct { _ struct{} `type:"structure"` - // The identifier of the identity store that is connected to the Amazon Web - // Services SSO instance. + // The identifier of the identity store that is connected to the IAM Identity + // Center instance. IdentityStoreId *string `min:"1" type:"string"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. InstanceArn *string `min:"10" type:"string"` } @@ -7136,10 +7129,10 @@ type ListAccountAssignmentCreationStatusInput struct { // Filters results based on the passed attribute value. Filter *OperationStatusFilter `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -7260,10 +7253,10 @@ type ListAccountAssignmentDeletionStatusInput struct { // Filters results based on the passed attribute value. Filter *OperationStatusFilter `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -7381,16 +7374,15 @@ func (s *ListAccountAssignmentDeletionStatusOutput) SetNextToken(v string) *List type ListAccountAssignmentsInput struct { _ struct{} `type:"structure"` - // The identifier of the Amazon Web Services account from which to list the - // assignments. + // The identifier of the AWS account from which to list the assignments. // // AccountId is a required field AccountId *string `min:"12" type:"string" required:"true"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -7490,8 +7482,7 @@ func (s *ListAccountAssignmentsInput) SetPermissionSetArn(v string) *ListAccount type ListAccountAssignmentsOutput struct { _ struct{} `type:"structure"` - // The list of assignments that match the input Amazon Web Services account - // and permission set. + // The list of assignments that match the input AWS account and permission set. AccountAssignments []*AccountAssignment `type:"list"` // The pagination token for the list API. Initially the value is null. Use the @@ -7532,10 +7523,10 @@ func (s *ListAccountAssignmentsOutput) SetNextToken(v string) *ListAccountAssign type ListAccountsForProvisionedPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -7547,13 +7538,13 @@ type ListAccountsForProvisionedPermissionSetInput struct { // output of previous API calls to make subsequent calls. NextToken *string `type:"string"` - // The ARN of the PermissionSet from which the associated Amazon Web Services - // accounts will be listed. + // The ARN of the PermissionSet from which the associated AWS accounts will + // be listed. // // PermissionSetArn is a required field PermissionSetArn *string `min:"10" type:"string" required:"true"` - // The permission set provisioning status for an Amazon Web Services account. + // The permission set provisioning status for an AWS account. ProvisioningStatus *string `type:"string" enum:"ProvisioningStatus"` } @@ -7633,7 +7624,7 @@ func (s *ListAccountsForProvisionedPermissionSetInput) SetProvisioningStatus(v s type ListAccountsForProvisionedPermissionSetOutput struct { _ struct{} `type:"structure"` - // The list of Amazon Web Services AccountIds. + // The list of AWS AccountIds. AccountIds []*string `type:"list"` // The pagination token for the list API. Initially the value is null. Use the @@ -7674,8 +7665,8 @@ func (s *ListAccountsForProvisionedPermissionSetOutput) SetNextToken(v string) * type ListCustomerManagedPolicyReferencesInPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -7859,7 +7850,7 @@ func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput { type ListInstancesOutput struct { _ struct{} `type:"structure"` - // Lists the Amazon Web Services SSO instances that the caller has access to. + // Lists the IAM Identity Center instances that the caller has access to. Instances []*InstanceMetadata `type:"list"` // The pagination token for the list API. Initially the value is null. Use the @@ -7900,10 +7891,10 @@ func (s *ListInstancesOutput) SetNextToken(v string) *ListInstancesOutput { type ListManagedPoliciesInPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -8035,10 +8026,10 @@ type ListPermissionSetProvisioningStatusInput struct { // Filters results based on the passed attribute value. Filter *OperationStatusFilter `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -8156,10 +8147,10 @@ func (s *ListPermissionSetProvisioningStatusOutput) SetPermissionSetsProvisionin type ListPermissionSetsInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -8234,7 +8225,7 @@ type ListPermissionSetsOutput struct { // output of previous API calls to make subsequent calls. NextToken *string `type:"string"` - // Defines the level of access on an Amazon Web Services account. + // Defines the level of access on an AWS account. PermissionSets []*string `type:"list"` } @@ -8271,16 +8262,15 @@ func (s *ListPermissionSetsOutput) SetPermissionSets(v []*string) *ListPermissio type ListPermissionSetsProvisionedToAccountInput struct { _ struct{} `type:"structure"` - // The identifier of the Amazon Web Services account from which to list the - // assignments. + // The identifier of the AWS account from which to list the assignments. // // AccountId is a required field AccountId *string `min:"12" type:"string" required:"true"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -8376,7 +8366,7 @@ type ListPermissionSetsProvisionedToAccountOutput struct { // output of previous API calls to make subsequent calls. NextToken *string `type:"string"` - // Defines the level of access that an Amazon Web Services account has. + // Defines the level of access that an AWS account has. PermissionSets []*string `type:"list"` } @@ -8413,10 +8403,10 @@ func (s *ListPermissionSetsProvisionedToAccountOutput) SetPermissionSets(v []*st type ListTagsForResourceInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -8576,8 +8566,8 @@ type PermissionSet struct { Name *string `min:"1" type:"string"` // The ARN of the permission set. For more information about ARNs, see Amazon - // Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // Resource Names (ARNs) and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. PermissionSetArn *string `min:"10" type:"string"` // Used to redirect users within the application during the federation authentication @@ -8648,8 +8638,7 @@ func (s *PermissionSet) SetSessionDuration(v string) *PermissionSet { type PermissionSetProvisioningStatus struct { _ struct{} `type:"structure"` - // The identifier of the Amazon Web Services account from which to list the - // assignments. + // The identifier of the AWS account from which to list the assignments. AccountId *string `min:"12" type:"string"` // The date that the permission set was created. @@ -8659,9 +8648,8 @@ type PermissionSetProvisioningStatus struct { FailureReason *string `type:"string"` // The ARN of the permission set that is being provisioned. For more information - // about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service - // Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) in the Amazon - // Web Services General Reference. + // about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. PermissionSetArn *string `min:"10" type:"string"` // The identifier for tracking the request operation that is generated by the @@ -8777,29 +8765,28 @@ func (s *PermissionSetProvisioningStatusMetadata) SetStatus(v string) *Permissio return s } -// Specifies the configuration of the Amazon Web Services managed or customer -// managed policy that you want to set as a permissions boundary. Specify either -// CustomerManagedPolicyReference to use the name and path of a customer managed -// policy, or ManagedPolicyArn to use the ARN of an Amazon Web Services managed -// policy. A permissions boundary represents the maximum permissions that any -// policy can grant your role. For more information, see Permissions boundaries -// for IAM entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) -// in the Identity and Access Management User Guide. +// Specifies the configuration of the AWS managed or customer managed policy +// that you want to set as a permissions boundary. Specify either CustomerManagedPolicyReference +// to use the name and path of a customer managed policy, or ManagedPolicyArn +// to use the ARN of an AWS managed policy. A permissions boundary represents +// the maximum permissions that any policy can grant your role. For more information, +// see Permissions boundaries for IAM entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) +// in the IAM User Guide. // // Policies used as permissions boundaries don't provide permissions. You must // also attach an IAM policy to the role. To learn how the effective permissions // for a role are evaluated, see IAM JSON policy evaluation logic (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html) -// in the Identity and Access Management User Guide. +// in the IAM User Guide. type PermissionsBoundary struct { _ struct{} `type:"structure"` // Specifies the name and path of a customer managed policy. You must have an - // IAM policy that matches the name and path in each Amazon Web Services account - // where you want to deploy your permission set. + // IAM policy that matches the name and path in each AWS account where you want + // to deploy your permission set. CustomerManagedPolicyReference *CustomerManagedPolicyReference `type:"structure"` - // The Amazon Web Services managed policy ARN that you want to attach to a permission - // set as a permissions boundary. + // The AWS managed policy ARN that you want to attach to a permission set as + // a permissions boundary. ManagedPolicyArn *string `min:"20" type:"string"` } @@ -8854,10 +8841,10 @@ func (s *PermissionsBoundary) SetManagedPolicyArn(v string) *PermissionsBoundary type ProvisionPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -8867,8 +8854,8 @@ type ProvisionPermissionSetInput struct { // PermissionSetArn is a required field PermissionSetArn *string `min:"10" type:"string" required:"true"` - // TargetID is an Amazon Web Services account identifier, typically a 10-12 - // digit string (For example, 123456789012). + // TargetID is an AWS account identifier, typically a 10-12 digit string (For + // example, 123456789012). TargetId *string `min:"12" type:"string"` // The entity type for which the assignment will be created. @@ -8986,10 +8973,10 @@ type PutInlinePolicyToPermissionSetInput struct { // InlinePolicy is a required field InlinePolicy *string `min:"1" type:"string" required:"true"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -9089,8 +9076,8 @@ func (s PutInlinePolicyToPermissionSetOutput) GoString() string { type PutPermissionsBoundaryToPermissionSetInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -9325,7 +9312,7 @@ func (s *ServiceQuotaExceededException) RequestID() string { // A set of key-value pairs that are used to manage the resource. Tags can only // be applied to permission sets and cannot be applied to corresponding roles -// that Amazon Web Services SSO creates in Amazon Web Services accounts. +// that IAM Identity Center creates in AWS accounts. type Tag struct { _ struct{} `type:"structure"` @@ -9392,10 +9379,10 @@ func (s *Tag) SetValue(v string) *Tag { type TagResourceInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -9572,10 +9559,10 @@ func (s *ThrottlingException) RequestID() string { type UntagResourceInput struct { _ struct{} `type:"structure"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -9685,8 +9672,8 @@ type UpdateInstanceAccessControlAttributeConfigurationInput struct { // InstanceAccessControlAttributeConfiguration is a required field InstanceAccessControlAttributeConfiguration *InstanceAccessControlAttributeConfiguration `type:"structure" required:"true"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` @@ -9774,10 +9761,10 @@ type UpdatePermissionSetInput struct { // The description of the PermissionSet. Description *string `min:"1" type:"string"` - // The ARN of the Amazon Web Services SSO instance under which the operation - // will be executed. For more information about ARNs, see Amazon Resource Names - // (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) - // in the Amazon Web Services General Reference. + // The ARN of the IAM Identity Center instance under which the operation will + // be executed. For more information about ARNs, see Amazon Resource Names (ARNs) + // and AWS Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) + // in the AWS General Reference. // // InstanceArn is a required field InstanceArn *string `min:"10" type:"string" required:"true"` diff --git a/service/ssoadmin/doc.go b/service/ssoadmin/doc.go index 9363054aca..591abb6661 100644 --- a/service/ssoadmin/doc.go +++ b/service/ssoadmin/doc.go @@ -3,32 +3,30 @@ // Package ssoadmin provides the client and types for making API // requests to AWS Single Sign-On Admin. // -// Amazon Web Services Single Sign On helps you securely create, or connect, -// your workforce identities and manage their access centrally across Amazon -// Web Services accounts and applications. Amazon Web Services SSO is the recommended -// approach for workforce authentication and authorization in Amazon Web Services, -// for organizations of any size and type. +// AWS IAM Identity Center (successor to AWS Single Sign-On) helps you securely +// create, or connect, your workforce identities and manage their access centrally +// across AWS accounts and applications. IAM Identity Center is the recommended +// approach for workforce authentication and authorization in AWS, for organizations +// of any size and type. // -// Although Amazon Web Services Single Sign-On was renamed, the sso and identitystore -// API namespaces will continue to retain their original name for backward compatibility -// purposes. For more information, see Amazon Web Services SSO rename (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed). +// Although AWS Single Sign-On was renamed, the sso and identitystore API namespaces +// will continue to retain their original name for backward compatibility purposes. +// For more information, see IAM Identity Center rename (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed). // // This reference guide provides information on single sign-on operations which -// could be used for access management of Amazon Web Services accounts. For -// information about Amazon Web Services SSO features, see the Amazon Web Services -// SSO User Guide (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html). -// -// Many operations in the Amazon Web Services SSO APIs rely on identifiers for -// users and groups, known as principals. For more information about how to -// work with principals and principal IDs in Amazon Web Services SSO, see the -// Identity Store API Reference (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/welcome.html). -// -// Amazon Web Services provides SDKs that consist of libraries and sample code -// for various programming languages and platforms (Java, Ruby, .Net, iOS, Android, -// and more). The SDKs provide a convenient way to create programmatic access -// to Amazon Web Services SSO and other Amazon Web Services services. For more -// information about the Amazon Web Services SDKs, including how to download -// and install them, see Tools for Amazon Web Services (http://aws.amazon.com/tools/). +// could be used for access management of AWS accounts. For information about +// IAM Identity Center features, see the IAM Identity Center User Guide (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html). +// +// Many operations in the IAM Identity Center APIs rely on identifiers for users +// and groups, known as principals. For more information about how to work with +// principals and principal IDs in IAM Identity Center, see the Identity Store +// API Reference (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/welcome.html). +// +// AWS provides SDKs that consist of libraries and sample code for various programming +// languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs +// provide a convenient way to create programmatic access to IAM Identity Center +// and other AWS services. For more information about the AWS SDKs, including +// how to download and install them, see Tools for Amazon Web Services (http://aws.amazon.com/tools/). // // See https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20 for more information on this service. //