aws-sdk-iotsitewise 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58db42ef833feb7565fd341eabbf2880f9793ce9c698dd698bd0059e9a3e1477
4
- data.tar.gz: 128c16cc63ed3a0f1ebfd08ae1d9d9b2377f2d10cd1e809fcdbd41b100b3198c
3
+ metadata.gz: 4da4706f27771303084a228e4d77c78f8baeb62d585db701dd025fce0cb48bae
4
+ data.tar.gz: 792ade8ab265b9c3a3166ad6314e58e63f9ba95657e3211d062aab8becb3a858
5
5
  SHA512:
6
- metadata.gz: 1f76a3be9a0c186966535526f0b6ddf6f50905af145d6e49cd7dde99be6d8efea0d37ebe61c368f214d521513180a7685485abd9e76f300f07918419dad0948b
7
- data.tar.gz: 73e9b21dcde1c9f681b073fc662c153d21b8b42b53eadc3ee60f5c61bf263d263e9c3e30f96095b73d73f830c96092f2219cdbb08149ca6202e7cb447cc52982
6
+ metadata.gz: 77680cee2e8a3be430d1e07bbdad6d044af82b067f4c133e75bb7b05ba6bb8448d5d59e6ce22a6a7cce391949ffe2481e0afbce90350d7a66e61d36c2d2d642f
7
+ data.tar.gz: 62f2d78a0cd8edb5b404bb7ec3e366c387cd4eb102a649982351d64c801269cac596195a05bd1a0d4468c40bde2d3a511fa2bd10d16f28b9b6fe4396414887dd
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-iotsitewise/customizations'
49
49
  # @!group service
50
50
  module Aws::IoTSiteWise
51
51
 
52
- GEM_VERSION = '1.12.0'
52
+ GEM_VERSION = '1.13.0'
53
53
 
54
54
  end
@@ -1079,42 +1079,6 @@ module Aws::IoTSiteWise
1079
1079
  req.send_request(options)
1080
1080
  end
1081
1081
 
1082
- # Creates a pre-signed URL to a portal. Use this operation to create
1083
- # URLs to portals that use AWS Identity and Access Management (IAM) to
1084
- # authenticate users. An IAM user with access to a portal can call this
1085
- # API to get a URL to that portal. The URL contains a session token that
1086
- # lets the IAM user access the portal.
1087
- #
1088
- # @option params [required, String] :portal_id
1089
- # The ID of the portal to access.
1090
- #
1091
- # @option params [Integer] :session_duration_seconds
1092
- # The duration (in seconds) for which the session at the URL is valid.
1093
- #
1094
- # Default: 900 seconds (15 minutes)
1095
- #
1096
- # @return [Types::CreatePresignedPortalUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1097
- #
1098
- # * {Types::CreatePresignedPortalUrlResponse#presigned_portal_url #presigned_portal_url} => String
1099
- #
1100
- # @example Request syntax with placeholder values
1101
- #
1102
- # resp = client.create_presigned_portal_url({
1103
- # portal_id: "ID", # required
1104
- # session_duration_seconds: 1,
1105
- # })
1106
- #
1107
- # @example Response structure
1108
- #
1109
- # resp.presigned_portal_url #=> String
1110
- #
1111
- # @overload create_presigned_portal_url(params = {})
1112
- # @param [Hash] params ({})
1113
- def create_presigned_portal_url(params = {}, options = {})
1114
- req = build_request(:create_presigned_portal_url, params)
1115
- req.send_request(options)
1116
- end
1117
-
1118
1082
  # Creates a project in the specified portal.
1119
1083
  #
1120
1084
  # @option params [required, String] :portal_id
@@ -3417,7 +3381,7 @@ module Aws::IoTSiteWise
3417
3381
  params: params,
3418
3382
  config: config)
3419
3383
  context[:gem_name] = 'aws-sdk-iotsitewise'
3420
- context[:gem_version] = '1.12.0'
3384
+ context[:gem_version] = '1.13.0'
3421
3385
  Seahorse::Client::Request.new(handlers, context)
3422
3386
  end
3423
3387
 
@@ -86,8 +86,6 @@ module Aws::IoTSiteWise
86
86
  CreateGatewayResponse = Shapes::StructureShape.new(name: 'CreateGatewayResponse')
87
87
  CreatePortalRequest = Shapes::StructureShape.new(name: 'CreatePortalRequest')
88
88
  CreatePortalResponse = Shapes::StructureShape.new(name: 'CreatePortalResponse')
89
- CreatePresignedPortalUrlRequest = Shapes::StructureShape.new(name: 'CreatePresignedPortalUrlRequest')
90
- CreatePresignedPortalUrlResponse = Shapes::StructureShape.new(name: 'CreatePresignedPortalUrlResponse')
91
89
  CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
92
90
  CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
93
91
  DashboardDefinition = Shapes::StringShape.new(name: 'DashboardDefinition')
@@ -237,7 +235,6 @@ module Aws::IoTSiteWise
237
235
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
238
236
  SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
239
237
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
240
- SessionDurationSeconds = Shapes::IntegerShape.new(name: 'SessionDurationSeconds')
241
238
  TagKey = Shapes::StringShape.new(name: 'TagKey')
242
239
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
243
240
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -536,13 +533,6 @@ module Aws::IoTSiteWise
536
533
  CreatePortalResponse.add_member(:sso_application_id, Shapes::ShapeRef.new(shape: SSOApplicationId, required: true, location_name: "ssoApplicationId"))
537
534
  CreatePortalResponse.struct_class = Types::CreatePortalResponse
538
535
 
539
- CreatePresignedPortalUrlRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "portalId"))
540
- CreatePresignedPortalUrlRequest.add_member(:session_duration_seconds, Shapes::ShapeRef.new(shape: SessionDurationSeconds, location: "querystring", location_name: "sessionDurationSeconds"))
541
- CreatePresignedPortalUrlRequest.struct_class = Types::CreatePresignedPortalUrlRequest
542
-
543
- CreatePresignedPortalUrlResponse.add_member(:presigned_portal_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "presignedPortalUrl"))
544
- CreatePresignedPortalUrlResponse.struct_class = Types::CreatePresignedPortalUrlResponse
545
-
546
536
  CreateProjectRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "portalId"))
547
537
  CreateProjectRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "projectName"))
548
538
  CreateProjectRequest.add_member(:project_description, Shapes::ShapeRef.new(shape: Description, location_name: "projectDescription"))
@@ -1336,20 +1326,6 @@ module Aws::IoTSiteWise
1336
1326
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1337
1327
  end)
1338
1328
 
1339
- api.add_operation(:create_presigned_portal_url, Seahorse::Model::Operation.new.tap do |o|
1340
- o.name = "CreatePresignedPortalUrl"
1341
- o.http_method = "GET"
1342
- o.http_request_uri = "/portals/{portalId}/presigned-url"
1343
- o.endpoint_pattern = {
1344
- "hostPrefix" => "monitor.",
1345
- }
1346
- o.input = Shapes::ShapeRef.new(shape: CreatePresignedPortalUrlRequest)
1347
- o.output = Shapes::ShapeRef.new(shape: CreatePresignedPortalUrlResponse)
1348
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1349
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1350
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1351
- end)
1352
-
1353
1329
  api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o|
1354
1330
  o.name = "CreateProject"
1355
1331
  o.http_method = "POST"
@@ -1588,45 +1588,6 @@ module Aws::IoTSiteWise
1588
1588
  include Aws::Structure
1589
1589
  end
1590
1590
 
1591
- # @note When making an API call, you may pass CreatePresignedPortalUrlRequest
1592
- # data as a hash:
1593
- #
1594
- # {
1595
- # portal_id: "ID", # required
1596
- # session_duration_seconds: 1,
1597
- # }
1598
- #
1599
- # @!attribute [rw] portal_id
1600
- # The ID of the portal to access.
1601
- # @return [String]
1602
- #
1603
- # @!attribute [rw] session_duration_seconds
1604
- # The duration (in seconds) for which the session at the URL is valid.
1605
- #
1606
- # Default: 900 seconds (15 minutes)
1607
- # @return [Integer]
1608
- #
1609
- class CreatePresignedPortalUrlRequest < Struct.new(
1610
- :portal_id,
1611
- :session_duration_seconds)
1612
- SENSITIVE = []
1613
- include Aws::Structure
1614
- end
1615
-
1616
- # @!attribute [rw] presigned_portal_url
1617
- # The pre-signed URL to the portal. The URL contains the portal ID and
1618
- # a session token that lets you access the portal. The URL has the
1619
- # following format.
1620
- #
1621
- # `https://<portal-id>.app.iotsitewise.aws/auth?token=<encrypted-token>`
1622
- # @return [String]
1623
- #
1624
- class CreatePresignedPortalUrlResponse < Struct.new(
1625
- :presigned_portal_url)
1626
- SENSITIVE = []
1627
- include Aws::Structure
1628
- end
1629
-
1630
1591
  # @note When making an API call, you may pass CreateProjectRequest
1631
1592
  # data as a hash:
1632
1593
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotsitewise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core