Skip to content

Commit 329e4a5

Browse files
author
AWS
committed
Managed integrations for AWS IoT Device Management Update: Adding support for Custom(General) Authorization in managed integrations for AWS IoT Device Management cloud connectors.
1 parent b850fb4 commit 329e4a5

2 files changed

Lines changed: 122 additions & 27 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Managed integrations for AWS IoT Device Management",
4+
"contributor": "",
5+
"description": "Adding support for Custom(General) Authorization in managed integrations for AWS IoT Device Management cloud connectors."
6+
}

services/iotmanagedintegrations/src/main/resources/codegen-resources/service-2.json

Lines changed: 116 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@
12351235
{"shape":"ResourceNotFoundException"},
12361236
{"shape":"ThrottlingException"}
12371237
],
1238-
"documentation":"<p>List tags for the specified resource.</p>",
1238+
"documentation":"<p>Lists the tags for a specified resource.</p>",
12391239
"readonly":true
12401240
},
12411241
"PutDefaultEncryptionConfiguration":{
@@ -1407,6 +1407,7 @@
14071407
{"shape":"ValidationException"},
14081408
{"shape":"AccessDeniedException"},
14091409
{"shape":"InternalServerException"},
1410+
{"shape":"ConflictException"},
14101411
{"shape":"ServiceUnavailableException"},
14111412
{"shape":"ResourceNotFoundException"},
14121413
{"shape":"ThrottlingException"}
@@ -1450,7 +1451,7 @@
14501451
{"shape":"ResourceNotFoundException"},
14511452
{"shape":"ThrottlingException"}
14521453
],
1453-
"documentation":"<p>Add tags for the specified resource.</p>",
1454+
"documentation":"<p>Adds tags to a specified resource.</p>",
14541455
"idempotent":true
14551456
},
14561457
"UntagResource":{
@@ -1469,7 +1470,7 @@
14691470
{"shape":"ResourceNotFoundException"},
14701471
{"shape":"ThrottlingException"}
14711472
],
1472-
"documentation":"<p>Remove tags for the specified resource.</p>",
1473+
"documentation":"<p>Removes tags from a specified resource.</p>",
14731474
"idempotent":true
14741475
},
14751476
"UpdateAccountAssociation":{
@@ -1797,6 +1798,10 @@
17971798
"oAuth":{
17981799
"shape":"OAuthConfig",
17991800
"documentation":"<p>The OAuth configuration settings used for authentication with the third-party service.</p>"
1801+
},
1802+
"GeneralAuthorization":{
1803+
"shape":"AuthMaterials",
1804+
"documentation":"<p>The authorization materials for General Authorization.</p>"
18001805
}
18011806
},
18021807
"documentation":"<p>The authentication configuration details for a connector destination, including OAuth settings and other authentication parameters.</p>"
@@ -1807,10 +1812,35 @@
18071812
"oAuthUpdate":{
18081813
"shape":"OAuthUpdate",
18091814
"documentation":"<p>The updated OAuth configuration settings for the authentication configuration.</p>"
1815+
},
1816+
"GeneralAuthorizationUpdate":{
1817+
"shape":"GeneralAuthorizationUpdate",
1818+
"documentation":"<p>The General Authorization update information containing authorization materials to add or update in Kinesis Data Streams.</p>"
18101819
}
18111820
},
18121821
"documentation":"<p>The updated authentication configuration details for a connector destination.</p>"
18131822
},
1823+
"AuthMaterial":{
1824+
"type":"structure",
1825+
"required":[
1826+
"SecretsManager",
1827+
"AuthMaterialName"
1828+
],
1829+
"members":{
1830+
"SecretsManager":{"shape":"SecretsManager"},
1831+
"AuthMaterialName":{
1832+
"shape":"AuthMaterialName",
1833+
"documentation":"<p>The name of the authorization material.</p>"
1834+
}
1835+
},
1836+
"documentation":"<p>The authorization material containing the Secrets Manager arn and version.</p>"
1837+
},
1838+
"AuthMaterialName":{
1839+
"type":"string",
1840+
"max":100,
1841+
"min":1,
1842+
"pattern":"[a-zA-Z0-9=_+/-]+"
1843+
},
18141844
"AuthMaterialString":{
18151845
"type":"string",
18161846
"max":512,
@@ -1825,9 +1855,16 @@
18251855
"WIFI_SETUP_QR_BAR_CODE",
18261856
"ZWAVE_QR_BAR_CODE",
18271857
"ZIGBEE_QR_BAR_CODE",
1828-
"DISCOVERED_DEVICE"
1858+
"DISCOVERED_DEVICE",
1859+
"PRE_ONBOARDED_CLOUD"
18291860
]
18301861
},
1862+
"AuthMaterials":{
1863+
"type":"list",
1864+
"member":{"shape":"AuthMaterial"},
1865+
"max":3,
1866+
"min":0
1867+
},
18311868
"AuthType":{
18321869
"type":"string",
18331870
"enum":["OAUTH"]
@@ -2316,12 +2353,17 @@
23162353
"pattern":"[a-zA-Z0-9_.,@-]+",
23172354
"sensitive":true
23182355
},
2356+
"ConnectorDeviceIdList":{
2357+
"type":"list",
2358+
"member":{"shape":"ConnectorDeviceId"},
2359+
"max":100,
2360+
"min":0
2361+
},
23192362
"ConnectorDeviceName":{
23202363
"type":"string",
23212364
"max":256,
23222365
"min":1,
2323-
"pattern":"[\\p{L}\\p{N} ._-]+",
2324-
"sensitive":true
2366+
"pattern":"[\\p{L}\\p{N} ._-]+"
23252367
},
23262368
"ConnectorEventMessage":{
23272369
"type":"string",
@@ -2343,15 +2385,13 @@
23432385
"type":"string",
23442386
"max":6,
23452387
"min":1,
2346-
"pattern":"[0-9.]+",
2347-
"sensitive":true
2388+
"pattern":"[0-9.]+"
23482389
},
23492390
"ConnectorEventStatusCode":{
23502391
"type":"integer",
23512392
"box":true,
23522393
"max":550,
2353-
"min":100,
2354-
"sensitive":true
2394+
"min":100
23552395
},
23562396
"ConnectorId":{
23572397
"type":"string",
@@ -2430,6 +2470,10 @@
24302470
"Tags":{
24312471
"shape":"TagsMap",
24322472
"documentation":"<p>A set of key/value pairs that are used to manage the account association.</p>"
2473+
},
2474+
"GeneralAuthorization":{
2475+
"shape":"GeneralAuthorizationName",
2476+
"documentation":"<p>The General Authorization reference by authorization material name.</p>"
24332477
}
24342478
}
24352479
},
@@ -2442,8 +2486,8 @@
24422486
],
24432487
"members":{
24442488
"OAuthAuthorizationUrl":{
2445-
"shape":"OAuthAuthorizationUrl",
2446-
"documentation":"<p>Third-party IoT platform OAuth authorization server URL backed with all the required parameters to perform end-user authentication.</p>"
2489+
"shape":"OAuthAuthorizationUrlOutput",
2490+
"documentation":"<p>Third-party IoT platform OAuth authorization server URL backed with all the required parameters to perform end-user authentication. This field will be empty when using General Authorization flows that do not require OAuth.</p>"
24472491
},
24482492
"AccountAssociationId":{
24492493
"shape":"AccountAssociationId",
@@ -2502,9 +2546,7 @@
25022546
"type":"structure",
25032547
"required":[
25042548
"CloudConnectorId",
2505-
"AuthType",
2506-
"AuthConfig",
2507-
"SecretsManager"
2549+
"AuthConfig"
25082550
],
25092551
"members":{
25102552
"Name":{
@@ -2691,7 +2733,7 @@
26912733
},
26922734
"AuthenticationMaterial":{
26932735
"shape":"AuthMaterialString",
2694-
"documentation":"<p>The authentication material defining the device connectivity setup requests. The authentication materials used are the device bar code.</p>"
2736+
"documentation":"<p>The authentication material defining the device connectivity setup requests. The authorization materials used are the device bar code.</p>"
26952737
},
26962738
"AuthenticationMaterialType":{
26972739
"shape":"AuthMaterialType",
@@ -2915,6 +2957,10 @@
29152957
"shape":"CaCertificate",
29162958
"documentation":"<p>The id of the certificate authority (CA) certificate.</p>"
29172959
},
2960+
"ClaimCertificate":{
2961+
"shape":"ClaimCertificate",
2962+
"documentation":"<p>The claim certificate.</p>"
2963+
},
29182964
"Name":{
29192965
"shape":"ProvisioningProfileName",
29202966
"documentation":"<p>The name of the provisioning template.</p>"
@@ -3579,6 +3625,30 @@
35793625
"min":1,
35803626
"pattern":"0[xX][0-9a-fA-F]+$|^[0-9]+"
35813627
},
3628+
"GeneralAuthorizationName":{
3629+
"type":"structure",
3630+
"members":{
3631+
"AuthMaterialName":{
3632+
"shape":"AuthMaterialName",
3633+
"documentation":"<p>The name of the authorization material.</p>"
3634+
}
3635+
},
3636+
"documentation":"<p>The General Authorization reference by authorization material name.</p>"
3637+
},
3638+
"GeneralAuthorizationUpdate":{
3639+
"type":"structure",
3640+
"members":{
3641+
"AuthMaterialsToAdd":{
3642+
"shape":"AuthMaterials",
3643+
"documentation":"<p>The authorization materials to add.</p>"
3644+
},
3645+
"AuthMaterialsToUpdate":{
3646+
"shape":"AuthMaterials",
3647+
"documentation":"<p>The authorization materials to update.</p>"
3648+
}
3649+
},
3650+
"documentation":"<p>The General Authorization update information containing authorization materials to add or update.</p>"
3651+
},
35823652
"GetAccountAssociationRequest":{
35833653
"type":"structure",
35843654
"required":["AccountAssociationId"],
@@ -3628,12 +3698,16 @@
36283698
"documentation":"<p>The Amazon Resource Name (ARN) of the account association.</p>"
36293699
},
36303700
"OAuthAuthorizationUrl":{
3631-
"shape":"OAuthAuthorizationUrl",
3632-
"documentation":"<p>Third party IoT platform OAuth authorization server URL backed with all the required parameters to perform end-user authentication.</p>"
3701+
"shape":"OAuthAuthorizationUrlOutput",
3702+
"documentation":"<p>Third party IoT platform OAuth authorization server URL backed with all the required parameters to perform end-user authentication. This field will be empty when using General Authorization flows that do not require OAuth.</p>"
36333703
},
36343704
"Tags":{
36353705
"shape":"TagsMap",
36363706
"documentation":"<p>A set of key/value pairs that are used to manage the account association.</p>"
3707+
},
3708+
"GeneralAuthorization":{
3709+
"shape":"GeneralAuthorizationName",
3710+
"documentation":"<p>The General Authorization reference by authorization material name.</p>"
36373711
}
36383712
}
36393713
},
@@ -5316,7 +5390,7 @@
53165390
"members":{
53175391
"ResourceArn":{
53185392
"shape":"IoTManagedIntegrationsResourceARN",
5319-
"documentation":"<p>The ARN of the resource for which to list tags.</p>",
5393+
"documentation":"<p>The Amazon Resource Name (ARN) of the resource for which to list tags.</p>",
53205394
"location":"uri",
53215395
"locationName":"ResourceArn"
53225396
}
@@ -5377,6 +5451,10 @@
53775451
"AccountAssociationId":{
53785452
"shape":"AccountAssociationId",
53795453
"documentation":"<p>The identifier of the account association in the association.</p>"
5454+
},
5455+
"ManagedThingAssociationStatus":{
5456+
"shape":"ManagedThingAssociationStatus",
5457+
"documentation":"<p>The status of the registration between the managed thing and the account association. Indicates whether the device is pre-associated or fully associated with the account association.</p>"
53805458
}
53815459
},
53825460
"documentation":"<p>Structure representing an association between a managed thing and an account association, which connects a device to a third-party account.</p>"
@@ -5385,6 +5463,13 @@
53855463
"type":"list",
53865464
"member":{"shape":"ManagedThingAssociation"}
53875465
},
5466+
"ManagedThingAssociationStatus":{
5467+
"type":"string",
5468+
"enum":[
5469+
"PRE_ASSOCIATED",
5470+
"ASSOCIATED"
5471+
]
5472+
},
53885473
"ManagedThingId":{
53895474
"type":"string",
53905475
"max":64,
@@ -5881,11 +5966,11 @@
58815966
"max":100,
58825967
"min":1
58835968
},
5884-
"OAuthAuthorizationUrl":{
5969+
"OAuthAuthorizationUrlOutput":{
58855970
"type":"string",
58865971
"max":1024,
5887-
"min":1,
5888-
"pattern":"(https)://.*",
5972+
"min":0,
5973+
"pattern":"$|^(https):\\/\\/.*",
58895974
"sensitive":true
58905975
},
58915976
"OAuthCompleteRedirectUrl":{
@@ -6885,8 +6970,8 @@
68856970
"required":["OAuthAuthorizationUrl"],
68866971
"members":{
68876972
"OAuthAuthorizationUrl":{
6888-
"shape":"OAuthAuthorizationUrl",
6889-
"documentation":"<p>Third-party IoT platform OAuth authorization server URL with all required parameters to perform end-user authentication during the refresh process.</p>"
6973+
"shape":"OAuthAuthorizationUrlOutput",
6974+
"documentation":"<p>Third-party IoT platform OAuth authorization server URL with all required parameters to perform end-user authentication during the refresh process. This field will be empty when using General Authorization flows that do not require OAuth.</p>"
68906975
}
68916976
}
68926977
},
@@ -6936,6 +7021,10 @@
69367021
"deprecatedMessage":"Tags have been deprecated from this api",
69377022
"deprecatedSince":"06-25-2025"
69387023
},
7024+
"ConnectorDeviceIdList":{
7025+
"shape":"ConnectorDeviceIdList",
7026+
"documentation":"<p>Used as a filter for PLA discoveries.</p>"
7027+
},
69397028
"Protocol":{
69407029
"shape":"ProtocolType",
69417030
"documentation":"<p>The protocol type for capability rediscovery (ZWAVE, ZIGBEE, or CUSTOM).</p> <note> <p>This parameter is only available when the discovery type is CONTROLLER_CAPABILITY_REDISCOVERY.</p> </note>"
@@ -7039,13 +7128,13 @@
70397128
"members":{
70407129
"ResourceArn":{
70417130
"shape":"IoTManagedIntegrationsResourceARN",
7042-
"documentation":"<p>The ARN of the resource to which to add tags.</p>",
7131+
"documentation":"<p>The Amazon Resource Name (ARN) of the resource to which to add tags.</p>",
70437132
"location":"uri",
70447133
"locationName":"ResourceArn"
70457134
},
70467135
"Tags":{
70477136
"shape":"TagsMap",
7048-
"documentation":"<p>A set of key/value pairs that are used to manage the resource</p>"
7137+
"documentation":"<p>A set of key/value pairs that are used to manage the resource.</p>"
70497138
}
70507139
}
70517140
},
@@ -7189,7 +7278,7 @@
71897278
"members":{
71907279
"ResourceArn":{
71917280
"shape":"IoTManagedIntegrationsResourceARN",
7192-
"documentation":"<p>The ARN of the resource to which to add tags.</p>",
7281+
"documentation":"<p>The Amazon Resource Name (ARN) of the resource from which to remove tags.</p>",
71937282
"location":"uri",
71947283
"locationName":"ResourceArn"
71957284
},

0 commit comments

Comments
 (0)