Skip to content

Commit a18964a

Browse files
chore: Updates version to 1.0.1
1 parent 7c70f4b commit a18964a

File tree

23 files changed

+6332
-183
lines changed

23 files changed

+6332
-183
lines changed

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func addResolvedTargets() {
255255
// MARK: - Generated
256256

257257
addDependencies(
258-
clientRuntimeVersion: "0.71.0",
258+
clientRuntimeVersion: "0.72.0",
259259
crtVersion: "0.36.0"
260260
)
261261

@@ -373,6 +373,7 @@ let serviceTargets: [String] = [
373373
"AWSDeviceFarm",
374374
"AWSDirectConnect",
375375
"AWSDirectoryService",
376+
"AWSDirectoryServiceData",
376377
"AWSDocDB",
377378
"AWSDocDBElastic",
378379
"AWSDrs",

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
1.0.1

Package.version.next

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.0.2

Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ This SDK is open-source. Code is available on Github [here](https://github.com/
295295

296296
[AWSDirectoryService](../../../../../swift/api/awsdirectoryservice/latest)
297297

298+
[AWSDirectoryServiceData](../../../../../swift/api/awsdirectoryservicedata/latest)
299+
298300
[AWSDocDB](../../../../../swift/api/awsdocdb/latest)
299301

300302
[AWSDocDBElastic](../../../../../swift/api/awsdocdbelastic/latest)

Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/Models.swift

Lines changed: 91 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,15 @@ extension CostExplorerClientTypes {
143143
}
144144

145145
extension CostExplorerClientTypes {
146-
/// The combination of Amazon Web Service, linked account, linked account name, Region, and usage type where a cost anomaly is observed. The linked account name will only be available when the account name can be identified.
146+
/// The combination of Amazon Web Servicesservice, linked account, linked account name, Region, and usage type where a cost anomaly is observed. The linked account name will only be available when the account name can be identified.
147147
public struct RootCause {
148148
/// The member account value that's associated with the cost anomaly.
149149
public var linkedAccount: Swift.String?
150150
/// The member account name value that's associated with the cost anomaly.
151151
public var linkedAccountName: Swift.String?
152152
/// The Amazon Web Services Region that's associated with the cost anomaly.
153153
public var region: Swift.String?
154-
/// The Amazon Web Service name that's associated with the cost anomaly.
154+
/// The Amazon Web Servicesservice name that's associated with the cost anomaly.
155155
public var service: Swift.String?
156156
/// The UsageType value that's associated with the cost anomaly.
157157
public var usageType: Swift.String?
@@ -187,7 +187,7 @@ extension CostExplorerClientTypes {
187187
public var anomalyScore: CostExplorerClientTypes.AnomalyScore?
188188
/// The first day the anomaly is detected.
189189
public var anomalyStartDate: Swift.String?
190-
/// The dimension for the anomaly (for example, an Amazon Web Service in a service monitor).
190+
/// The dimension for the anomaly (for example, an Amazon Web Servicesservice in a service monitor).
191191
public var dimensionValue: Swift.String?
192192
/// The feedback value.
193193
public var feedback: CostExplorerClientTypes.AnomalyFeedbackType?
@@ -2691,20 +2691,58 @@ extension CostExplorerClientTypes {
26912691

26922692
}
26932693

2694+
extension CostExplorerClientTypes {
2695+
/// The DynamoDB reservations that Amazon Web Services recommends that you purchase.
2696+
public struct DynamoDBCapacityDetails {
2697+
/// The capacity unit of the recommended reservation.
2698+
public var capacityUnits: Swift.String?
2699+
/// The Amazon Web Services Region of the recommended reservation.
2700+
public var region: Swift.String?
2701+
2702+
public init(
2703+
capacityUnits: Swift.String? = nil,
2704+
region: Swift.String? = nil
2705+
)
2706+
{
2707+
self.capacityUnits = capacityUnits
2708+
self.region = region
2709+
}
2710+
}
2711+
2712+
}
2713+
2714+
extension CostExplorerClientTypes {
2715+
/// Details about the reservations that Amazon Web Services recommends that you purchase.
2716+
public struct ReservedCapacityDetails {
2717+
/// The DynamoDB reservations that Amazon Web Services recommends that you purchase.
2718+
public var dynamoDBCapacityDetails: CostExplorerClientTypes.DynamoDBCapacityDetails?
2719+
2720+
public init(
2721+
dynamoDBCapacityDetails: CostExplorerClientTypes.DynamoDBCapacityDetails? = nil
2722+
)
2723+
{
2724+
self.dynamoDBCapacityDetails = dynamoDBCapacityDetails
2725+
}
2726+
}
2727+
2728+
}
2729+
26942730
extension CostExplorerClientTypes {
26952731
/// Details about your recommended reservation purchase.
26962732
public struct ReservationPurchaseRecommendationDetail {
26972733
/// The account that this Reserved Instance (RI) recommendation is for.
26982734
public var accountId: Swift.String?
26992735
/// The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
27002736
public var averageNormalizedUnitsUsedPerHour: Swift.String?
2737+
/// The average number of provisioned capacity units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
2738+
public var averageNumberOfCapacityUnitsUsedPerHour: Swift.String?
27012739
/// The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
27022740
public var averageNumberOfInstancesUsedPerHour: Swift.String?
2703-
/// The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.
2741+
/// The average utilization of your recommendations. Amazon Web Services uses this to calculate your recommended reservation purchases.
27042742
public var averageUtilization: Swift.String?
2705-
/// The currency code that Amazon Web Services used to calculate the costs for this instance.
2743+
/// The currency code that Amazon Web Services used to calculate the costs for this recommendation.
27062744
public var currencyCode: Swift.String?
2707-
/// How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.
2745+
/// How long Amazon Web Services estimates that it takes for this recommendation to start saving you money, in months.
27082746
public var estimatedBreakEvenInMonths: Swift.String?
27092747
/// How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.
27102748
public var estimatedMonthlyOnDemandCost: Swift.String?
@@ -2718,24 +2756,33 @@ extension CostExplorerClientTypes {
27182756
public var instanceDetails: CostExplorerClientTypes.InstanceDetails?
27192757
/// The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
27202758
public var maximumNormalizedUnitsUsedPerHour: Swift.String?
2759+
/// The maximum number of provisioned capacity units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
2760+
public var maximumNumberOfCapacityUnitsUsedPerHour: Swift.String?
27212761
/// The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
27222762
public var maximumNumberOfInstancesUsedPerHour: Swift.String?
27232763
/// The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
27242764
public var minimumNormalizedUnitsUsedPerHour: Swift.String?
2765+
/// The minimum number of provisioned capacity units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
2766+
public var minimumNumberOfCapacityUnitsUsedPerHour: Swift.String?
27252767
/// The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
27262768
public var minimumNumberOfInstancesUsedPerHour: Swift.String?
27272769
/// The number of normalized units that Amazon Web Services recommends that you purchase.
27282770
public var recommendedNormalizedUnitsToPurchase: Swift.String?
2771+
/// The number of reserved capacity units that Amazon Web Services recommends that you purchase.
2772+
public var recommendedNumberOfCapacityUnitsToPurchase: Swift.String?
27292773
/// The number of instances that Amazon Web Services recommends that you purchase.
27302774
public var recommendedNumberOfInstancesToPurchase: Swift.String?
2731-
/// How much purchasing this instance costs you on a monthly basis.
2775+
/// How much purchasing this recommendation costs you on a monthly basis.
27322776
public var recurringStandardMonthlyCost: Swift.String?
2733-
/// How much purchasing this instance costs you upfront.
2777+
/// Details about the reservations that Amazon Web Services recommends that you purchase.
2778+
public var reservedCapacityDetails: CostExplorerClientTypes.ReservedCapacityDetails?
2779+
/// How much purchasing this recommendation costs you upfront.
27342780
public var upfrontCost: Swift.String?
27352781

27362782
public init(
27372783
accountId: Swift.String? = nil,
27382784
averageNormalizedUnitsUsedPerHour: Swift.String? = nil,
2785+
averageNumberOfCapacityUnitsUsedPerHour: Swift.String? = nil,
27392786
averageNumberOfInstancesUsedPerHour: Swift.String? = nil,
27402787
averageUtilization: Swift.String? = nil,
27412788
currencyCode: Swift.String? = nil,
@@ -2746,17 +2793,22 @@ extension CostExplorerClientTypes {
27462793
estimatedReservationCostForLookbackPeriod: Swift.String? = nil,
27472794
instanceDetails: CostExplorerClientTypes.InstanceDetails? = nil,
27482795
maximumNormalizedUnitsUsedPerHour: Swift.String? = nil,
2796+
maximumNumberOfCapacityUnitsUsedPerHour: Swift.String? = nil,
27492797
maximumNumberOfInstancesUsedPerHour: Swift.String? = nil,
27502798
minimumNormalizedUnitsUsedPerHour: Swift.String? = nil,
2799+
minimumNumberOfCapacityUnitsUsedPerHour: Swift.String? = nil,
27512800
minimumNumberOfInstancesUsedPerHour: Swift.String? = nil,
27522801
recommendedNormalizedUnitsToPurchase: Swift.String? = nil,
2802+
recommendedNumberOfCapacityUnitsToPurchase: Swift.String? = nil,
27532803
recommendedNumberOfInstancesToPurchase: Swift.String? = nil,
27542804
recurringStandardMonthlyCost: Swift.String? = nil,
2805+
reservedCapacityDetails: CostExplorerClientTypes.ReservedCapacityDetails? = nil,
27552806
upfrontCost: Swift.String? = nil
27562807
)
27572808
{
27582809
self.accountId = accountId
27592810
self.averageNormalizedUnitsUsedPerHour = averageNormalizedUnitsUsedPerHour
2811+
self.averageNumberOfCapacityUnitsUsedPerHour = averageNumberOfCapacityUnitsUsedPerHour
27602812
self.averageNumberOfInstancesUsedPerHour = averageNumberOfInstancesUsedPerHour
27612813
self.averageUtilization = averageUtilization
27622814
self.currencyCode = currencyCode
@@ -2767,12 +2819,16 @@ extension CostExplorerClientTypes {
27672819
self.estimatedReservationCostForLookbackPeriod = estimatedReservationCostForLookbackPeriod
27682820
self.instanceDetails = instanceDetails
27692821
self.maximumNormalizedUnitsUsedPerHour = maximumNormalizedUnitsUsedPerHour
2822+
self.maximumNumberOfCapacityUnitsUsedPerHour = maximumNumberOfCapacityUnitsUsedPerHour
27702823
self.maximumNumberOfInstancesUsedPerHour = maximumNumberOfInstancesUsedPerHour
27712824
self.minimumNormalizedUnitsUsedPerHour = minimumNormalizedUnitsUsedPerHour
2825+
self.minimumNumberOfCapacityUnitsUsedPerHour = minimumNumberOfCapacityUnitsUsedPerHour
27722826
self.minimumNumberOfInstancesUsedPerHour = minimumNumberOfInstancesUsedPerHour
27732827
self.recommendedNormalizedUnitsToPurchase = recommendedNormalizedUnitsToPurchase
2828+
self.recommendedNumberOfCapacityUnitsToPurchase = recommendedNumberOfCapacityUnitsToPurchase
27742829
self.recommendedNumberOfInstancesToPurchase = recommendedNumberOfInstancesToPurchase
27752830
self.recurringStandardMonthlyCost = recurringStandardMonthlyCost
2831+
self.reservedCapacityDetails = reservedCapacityDetails
27762832
self.upfrontCost = upfrontCost
27772833
}
27782834
}
@@ -5820,7 +5876,7 @@ public struct GetDimensionValuesInput {
58205876
///
58215877
/// * AZ - The Availability Zone. An example is us-east-1a.
58225878
///
5823-
/// * BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following: - Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services. - AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting reseller for Amazon Web Services in India. - Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on Amazon Web Services by third-party software providers.
5879+
/// * BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following: - Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Servicesservices. - AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting reseller for Amazon Web Servicesservices in India. - Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on Amazon Web Services by third-party software providers.
58245880
///
58255881
/// * CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
58265882
///
@@ -9740,6 +9796,32 @@ extension CostExplorerClientTypes.ReservationPurchaseRecommendationDetail {
97409796
value.estimatedReservationCostForLookbackPeriod = try reader["EstimatedReservationCostForLookbackPeriod"].readIfPresent()
97419797
value.upfrontCost = try reader["UpfrontCost"].readIfPresent()
97429798
value.recurringStandardMonthlyCost = try reader["RecurringStandardMonthlyCost"].readIfPresent()
9799+
value.reservedCapacityDetails = try reader["ReservedCapacityDetails"].readIfPresent(with: CostExplorerClientTypes.ReservedCapacityDetails.read(from:))
9800+
value.recommendedNumberOfCapacityUnitsToPurchase = try reader["RecommendedNumberOfCapacityUnitsToPurchase"].readIfPresent()
9801+
value.minimumNumberOfCapacityUnitsUsedPerHour = try reader["MinimumNumberOfCapacityUnitsUsedPerHour"].readIfPresent()
9802+
value.maximumNumberOfCapacityUnitsUsedPerHour = try reader["MaximumNumberOfCapacityUnitsUsedPerHour"].readIfPresent()
9803+
value.averageNumberOfCapacityUnitsUsedPerHour = try reader["AverageNumberOfCapacityUnitsUsedPerHour"].readIfPresent()
9804+
return value
9805+
}
9806+
}
9807+
9808+
extension CostExplorerClientTypes.ReservedCapacityDetails {
9809+
9810+
static func read(from reader: SmithyJSON.Reader) throws -> CostExplorerClientTypes.ReservedCapacityDetails {
9811+
guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent }
9812+
var value = CostExplorerClientTypes.ReservedCapacityDetails()
9813+
value.dynamoDBCapacityDetails = try reader["DynamoDBCapacityDetails"].readIfPresent(with: CostExplorerClientTypes.DynamoDBCapacityDetails.read(from:))
9814+
return value
9815+
}
9816+
}
9817+
9818+
extension CostExplorerClientTypes.DynamoDBCapacityDetails {
9819+
9820+
static func read(from reader: SmithyJSON.Reader) throws -> CostExplorerClientTypes.DynamoDBCapacityDetails {
9821+
guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent }
9822+
var value = CostExplorerClientTypes.DynamoDBCapacityDetails()
9823+
value.capacityUnits = try reader["CapacityUnits"].readIfPresent()
9824+
value.region = try reader["Region"].readIfPresent()
97439825
return value
97449826
}
97459827
}

0 commit comments

Comments
 (0)